summarylogtreecommitdiffstats
path: root/owon-vds-tiny.install
blob: d55e374368695d187970535d3ef3734b8b2b8b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_user=det            # User
_home=/home/$_user/  # $HOME

post_install() {
	udevadm control --reload-rules
	udevadm trigger
}

pre_upgrade() {
	rm -f "${_home}/.${pkgname}/preferences*" # Issues were reported with "dirty" upgrades
}

post_upgrade() {
	udevadm control --reload-rules
	udevadm trigger
}