add back missing file!
This commit is contained in:
parent
d37076907b
commit
70ed2f5c60
1 changed files with 10 additions and 0 deletions
10
snapper-pac-post
Executable file
10
snapper-pac-post
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PREFILE=/etc/snapper/.snap-pac-pre
|
||||||
|
if [ -f $PREFILE ]; then
|
||||||
|
SNAPPERPACPRE=$(cat $PREFILE)
|
||||||
|
snapper --config root create --type post --pre-number $SNAPPERPACPRE --description "pacman posttransaction"
|
||||||
|
rm $PREFILE
|
||||||
|
else
|
||||||
|
echo "WARNING: $PREFILE does not exist, so not performing post snapshot. If you are initially installing snap-pac, this is normal."
|
||||||
|
fi
|
||||||
Loading…
Add table
Reference in a new issue