diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-04-07 23:38:07 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-04-07 23:38:07 +0300 |
commit | 1c6210411c92374a340195efcc928a0be9b87b46 (patch) | |
tree | ebdd6b53582b95faf99c988a9735e19cbf7989a8 /dotfiles/.local/bin/pacupgrade | |
parent | 349aaa3a5885225f8f7e4de2abe7887699c306a9 (diff) | |
download | swayrice-1c6210411c92374a340195efcc928a0be9b87b46.tar.gz swayrice-1c6210411c92374a340195efcc928a0be9b87b46.zip |
small script improvements
Diffstat (limited to 'dotfiles/.local/bin/pacupgrade')
-rwxr-xr-x | dotfiles/.local/bin/pacupgrade | 4 |
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 |