Skip to content

Commit

Permalink
fix uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
ryecoaaron committed Feb 12, 2022
1 parent 1cd1ea3 commit 6926b25
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion debian/postrm
Expand Up @@ -5,15 +5,23 @@ set -e
. /etc/default/openmediavault
. /usr/share/openmediavault/scripts/helper-functions

remove_action() {
dpkg-trigger update-workbench
}

case "$1" in
purge)
remove_action
echo "Deleting Configuration"
omv_config_delete "/config/services/zfs"
rm -f /etc/modules-load.d/zfs.conf
;;

remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
remove)
remove_action
;;

upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;

*)
Expand Down

0 comments on commit 6926b25

Please sign in to comment.