Merge pull request #1353 from benjamink/webmin-install-fixes

Fix missing webmin install automation flags
This commit is contained in:
Benjamin Krein 2023-11-17 05:53:52 -05:00 committed by GitHub
commit 984a2e11dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -967,9 +967,9 @@ function installWebmin() {
echo "Installing packages..."
sudo apt-get install curl libcgi-session-perl --no-install-recommends --assume-yes </dev/null
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sudo sh setup-repos.sh
sudo sh setup-repos.sh -f
rm setup-repos.sh
sudo apt-get install webmin --install-recommends </dev/null
sudo apt-get install webmin --install-recommends --assume-yes </dev/null
echo
echo "Downloading and installing Webmin module..."
if [[ -f "$WEBMIN_MODULE_CONFIG" ]]; then