mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix a bug that prevented the uninstall script from running
This commit is contained in:
@ -535,7 +535,7 @@ if [ "$istheme" = "1" -a "\$1" != "upgrade" ]; then
|
||||
fi
|
||||
fi
|
||||
# Run the pre-uninstall script, if we are not upgrading
|
||||
if [ "$product" = "webmin" -a "\$1" = "0" -a -r "/usr/share/$product/$mod/uninstall.pl" ]; then
|
||||
if [ "$product" = "webmin" -a "\$1" != "upgrade" -a -r "/usr/share/$product/$mod/uninstall.pl" ]; then
|
||||
cd /usr/share/$product
|
||||
WEBMIN_CONFIG=/etc/$product WEBMIN_VAR=/var/$product /usr/share/$product/run-uninstalls.pl $mod
|
||||
fi
|
||||
|
Reference in New Issue
Block a user