aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/pacupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/pacupgrade')
-rwxr-xr-xdotfiles/.local/bin/pacupgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/pacupgrade b/dotfiles/.local/bin/pacupgrade
index 4aa4512..aa00575 100755
--- a/dotfiles/.local/bin/pacupgrade
+++ b/dotfiles/.local/bin/pacupgrade
@@ -1,6 +1,10 @@
#!/bin/sh
+# This is just a wrapper script to upgrade system AND update status bar module
+
+# Don't try to sync if pacman is already running
if pidof pacman; then
+ echo "pacman is already running"
exit
fi