put rm file in correct spot
This commit is contained in:
parent
d162241a1b
commit
e3537fab43
1 changed files with 1 additions and 1 deletions
|
|
@ -93,10 +93,10 @@ for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
post)
|
post)
|
||||||
if [[ -f $prefile ]]; then
|
if [[ -f $prefile ]]; then
|
||||||
printf "$($snapper_cmd --description "$(truncate_description $PACMAN_POST_DESCRIPTION)" --pre-number "$(< "$prefile")")\n"
|
printf "$($snapper_cmd --description "$(truncate_description $PACMAN_POST_DESCRIPTION)" --pre-number "$(< "$prefile")")\n"
|
||||||
|
rm -f "$prefile"
|
||||||
else
|
else
|
||||||
warning "%s does not exist, so no post snapshot for %s will be taken. If you are initially installing $name, this is normal." "$prefile" "$CONFIG"
|
warning "%s does not exist, so no post snapshot for %s will be taken. If you are initially installing $name, this is normal." "$prefile" "$CONFIG"
|
||||||
fi
|
fi
|
||||||
rm -f "$prefile"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue