blob: 4b4287b3cddd55038da12acabdf99f00611fac80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
pre_upgrade() {
if [ -f /etc/bieaz.cfg ]; then
mv /etc/bieaz.cfg /etc/bieaz.cfg.old
fi
};
post_upgrade() {
bieaz menu -g
if [ -f /etc/bieaz.cfg.old ]; then
mv /etc/bieaz.cfg /etc/bieaz.cfg.pacnew
mv /etc/bieaz.cfg.old /etc/bieaz.cfg
echo 'newer bieaz configuration has been installed to /etc/bieaz.cfg.pacnew'
fi
}
post_install() {
bieaz menu -g
}
|