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 }