summarylogtreecommitdiffstats
path: root/bieaz.install
blob: a393c456d1f3ab55ab23877891a1e4fe7331449c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
pre_upgrade() {
	if [ -f /etc/bieaz.cfg ]; then
		epoch=$(date +%s)
		mv /etc/bieaz.cfg /etc/bieaz.cfg.${epoch}.old
		echo "moved old config file to /etc/bieaz.cfg.${epoch}.old"
	fi
};
post_upgrade() {
	bieaz menu -g
}

post_install() {
	bieaz menu -g
}