sessionwarnings: pacman: only check critical operations

This commit is contained in:
end-4
2026-03-19 08:48:43 +01:00
parent 9a11a0d8f9
commit 7e94ee60aa
@@ -23,7 +23,7 @@ Singleton {
Process {
id: detectPackageManagerProc
command: ["bash", "-c", "pidof pacman yay paru dnf zypper apt apx xbps snap apk yum epsi pikman"]
command: ["bash", "-c", "pidof yay paru dnf zypper apt apx xbps snap apk yum epsi pikman || ls /var/lib/pacman/db.lck"]
onExited: (exitCode, exitStatus) => {
root.packageManagerRunning = (exitCode === 0);
}