summarylogtreecommitdiffstats
path: root/appliance.install
blob: eabe23d2538168e44efb660a949a8858c5f5eabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
    usr/bin/update-libguestfs-appliance
}

remove_old_appliance() {
    rm -f usr/lib/guestfs/{kernel,initrd,root,README.fixed}
}

pre_remove() {
    remove_old_appliance
    rm -f /var/cache/guestfs/appliance-*
}

pre_upgrade() {
    remove_old_appliance
}

post_upgrade() {
    post_install
}