add link to AUR package
This commit is contained in:
parent
1bd5b3a57f
commit
d37076907b
2 changed files with 4 additions and 10 deletions
|
|
@ -4,3 +4,7 @@ These are used for Arch Linux's pacman, so that snapper automatically takes a
|
||||||
pre and post snapshot before and after pacman transactions. There's no need to
|
pre and post snapshot before and after pacman transactions. There's no need to
|
||||||
create aliases, etc. See `man alpm-hooks` and `man snapper` for more
|
create aliases, etc. See `man alpm-hooks` and `man snapper` for more
|
||||||
information.
|
information.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Install [the package from the AUR](https://aur.archlinux.org/packages/snap-pac/).
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
#!/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