pre_install() { if [ -d /etc/burg-manager ] then rm -fr /etc/burg-manager fi if [ -z /etc/burg.d/50_iso ] then rm /etc/burg.d/50_iso fi } pre_upgrade() { pre_install } post_upgrade() { pre_install } post_remove() { pre_install }