From e0a5c4e50712dcfd652fa11bb39d17ed19ba36d2 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 17 Jul 2022 15:51:28 +0300 Subject: [PATCH] Clear manifest files too --- makedebian.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makedebian.pl b/makedebian.pl index 64bd44eb9..5eabd50ed 100755 --- a/makedebian.pl +++ b/makedebian.pl @@ -350,6 +350,7 @@ read answer printf "\\n" if [ "\\\$answer" = "y" ]; then echo "Removing $ucproduct package .." + rm -f /usr/share/$baseproduct/authentic-theme/manifest-* dpkg --remove --force-depends $product systemctlcmd=\\\`which systemctl 2>/dev/null\\\` if [ -x "\\\$systemctlcmd" ]; then @@ -395,6 +396,7 @@ if [ "\$1" != "upgrade" -a "\$1" != "abort-upgrade" ]; then # Package is being removed, and no new version of webmin # has taken it's place. Run uninstalls and stop the server /etc/$baseproduct/stop >/dev/null 2>&1 /dev/null 2>&1