summarylogtreecommitdiffstats
path: root/pacback.install
blob: 12056184e892b7118fc7439d1cdf978f1c0f75fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Attila Greguss <floyd0122[at]gmail[dot]com>
# Co-Maintainer/Author: Justin Timperio <justintimperio[at]gmail[dot]com>

post_install() {
    # Installs Snapshot Hook
    pacback -ih
}

post_upgrade() {
    # Run Alpha Upgrade
    /tmp/alpha-upgrade.sh
    rm -f /tmp/alpha-upgrade.sh
}

pre_remove() {
    # Removes Snapshot Hook
    pacback -rh
}

post_remove() {
    # Removes Cached User Data
    rm -Rf /var/lib/pacback
}