mirror of
https://github.com/safing/portmaster-packaging.git
synced 2026-05-20 20:10:34 +00:00
18 lines
367 B
Bash
18 lines
367 B
Bash
#!/bin/sh -e
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
if [ -d /var/lib/portmaster ] &&
|
|
[ "$2" = "0.0.0-1" ]
|
|
then
|
|
db_input high portmaster/remove_required
|
|
db_go
|
|
|
|
echo "\e[31;1mportmaster: \e[0m Detected unsupported portmaster installation $2. Uninstallation is required!"
|
|
echo "\e[31;1mportmaster: \e[0m \tapt purge portmaster"
|
|
|
|
exit 1
|
|
fi
|
|
|
|
#DEBHELPER#
|