fix initial installation
This commit is contained in:
parent
e6c6551676
commit
afae3b49db
1 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
SNAPPERPACPRE=$(cat /.snapperpacpre)
|
||||
snapper --config root create --type post --pre-number $SNAPPERPACPRE --description "pacman posttransaction"
|
||||
rm /.snapperpacpre
|
||||
if [ -f /.snapperpacpre ]; then
|
||||
SNAPPERPACPRE=$(cat /.snapperpacpre)
|
||||
snapper --config root create --type post --pre-number $SNAPPERPACPRE --description "pacman posttransaction"
|
||||
rm /.snapperpacpre
|
||||
else
|
||||
echo "No pacman pre snapshot was performed, so not performing post snapshot. If you are installing pac-snap, this is normal."
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue