fix location of pre number
This commit is contained in:
parent
17506c3b43
commit
5e92c178a3
1 changed files with 2 additions and 2 deletions
4
snap-pac
4
snap-pac
|
|
@ -29,7 +29,7 @@ fi
|
|||
declare -r cleanupalgo=${CLEANUP_ALGORITHM:-"number"}
|
||||
declare -r description=${POST_DESCRIPTION:-"$(echo $(ps -C pacman -o args=) | sed 'sX/usr/bin/pacmanXpacmanXg')"}
|
||||
declare -r configurations=${CONFIGS:-"root"}
|
||||
declare -r prefile_prefix="/usr/share/libalpm/hooks.bin/snap-pac/.pre"
|
||||
declare -r prefile_prefix="/usr/share/libalpm/hooks.bin/.snap-pac-pre"
|
||||
|
||||
function pre
|
||||
{
|
||||
|
|
@ -53,6 +53,6 @@ function post
|
|||
|
||||
function clean
|
||||
{
|
||||
rm /usr/share/libalpm/hooks.bin/snap-pac/.pre*
|
||||
rm /usr/share/libalpm/hooks.bin/.snap-pac-pre*
|
||||
echo "NOTE: No post snapshot will be performed for this transaction, since you are removing the pacman hooks."
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue