From 1c6210411c92374a340195efcc928a0be9b87b46 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 7 Apr 2020 23:38:07 +0300 Subject: small script improvements --- dotfiles/.local/bin/pacupgrade | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles/.local/bin/pacupgrade') 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 -- cgit v1.2.3