mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
sessionwarnings: pacman: only check critical operations
This commit is contained in:
@@ -23,7 +23,7 @@ Singleton {
|
|||||||
|
|
||||||
Process {
|
Process {
|
||||||
id: detectPackageManagerProc
|
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) => {
|
onExited: (exitCode, exitStatus) => {
|
||||||
root.packageManagerRunning = (exitCode === 0);
|
root.packageManagerRunning = (exitCode === 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user