add description if pacman was not found to be running
This commit is contained in:
parent
ac28d14ed8
commit
c5b822c2dd
1 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ declare -r pre_or_post=$1
|
||||||
declare pacman_cmd
|
declare pacman_cmd
|
||||||
pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))"
|
pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))"
|
||||||
|
|
||||||
|
if [[ -z "$pacman_cmd" ]]; then
|
||||||
|
pacman_cmd="pacman"
|
||||||
|
fi
|
||||||
|
|
||||||
declare -i x=0
|
declare -i x=0
|
||||||
for CONFIG in $SNAPPER_CONFIGS; do
|
for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue