add back missing file!

This commit is contained in:
James Barnett 2016-03-11 09:31:03 -06:00
parent d37076907b
commit 70ed2f5c60

10
snapper-pac-post Executable file
View 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