diff options
Diffstat (limited to 'dialog-ncurses.pkg/prerm')
-rw-r--r-- | dialog-ncurses.pkg/prerm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dialog-ncurses.pkg/prerm b/dialog-ncurses.pkg/prerm new file mode 100644 index 0000000..d21b9a4 --- /dev/null +++ b/dialog-ncurses.pkg/prerm @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ x"${1}" = x'remove' ] || [ x"${1}" = x'purge' ] || [ x"${1}" = x'upgrade' ] +then + update-alternatives --remove /usr/bin/dialog /usr/bin/dialog.ncurses +fi |