prefile not defined in correct location
This commit is contained in:
parent
505d62a80d
commit
02770cffc6
1 changed files with 1 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ fi
|
||||||
declare -i x=0
|
declare -i x=0
|
||||||
for CONFIG in $SNAPPER_CONFIGS; do
|
for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
|
|
||||||
|
prefile="/tmp/$name-pre_$CONFIG"
|
||||||
[[ "$pre_or_post" == "rem" ]] && rm -f "$prefile" && continue
|
[[ "$pre_or_post" == "rem" ]] && rm -f "$prefile" && continue
|
||||||
|
|
||||||
# Set defaults
|
# Set defaults
|
||||||
|
|
@ -82,7 +83,6 @@ for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
|
|
||||||
[[ $PACMAN_PRE_POST == "no" ]] && continue
|
[[ $PACMAN_PRE_POST == "no" ]] && continue
|
||||||
|
|
||||||
prefile="/tmp/$name-pre_$CONFIG"
|
|
||||||
snapper_cmd="snapper --config $CONFIG create --type $pre_or_post --cleanup-algorithm $PACMAN_CLEANUP_ALGORITHM --print-number --description"
|
snapper_cmd="snapper --config $CONFIG create --type $pre_or_post --cleanup-algorithm $PACMAN_CLEANUP_ALGORITHM --print-number --description"
|
||||||
|
|
||||||
x=$((x+1))
|
x=$((x+1))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue