Remove stray PAM on uninstall

This commit is contained in:
Ilia
2022-04-23 15:14:01 +03:00
parent 3696c8ac74
commit 6b3deb4d72

View File

@@ -395,6 +395,7 @@ if [ "\$1" != "upgrade" -a "\$1" != "abort-upgrade" ]; then
# Package is being removed, and no new version of webmin
# has taken it's place. Delete the config files
rm -rf /etc/$baseproduct /var/$baseproduct
rm -f /etc/pam.d/$baseproduct
fi
fi
EOF