Update install-webmin.sh

This commit is contained in:
2023-12-17 14:04:41 -06:00
parent 50dfe3a0b6
commit 365990b99d

View File

@@ -12,12 +12,11 @@ if type apt &>/dev/null; then
elif type apt-get &>/dev/null; then
rm -f /etc/apt/sources.list.d/webmin.list
echo -e "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list
cd /tmp
wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
apt-get update
apt-get -y install apt-transport-https
apt-get -y install webmin
# echo -e "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list
# cd /tmp
# wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
bash <(curl -sL https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh)
apt -y install webmin
elif type yum &>/dev/null; then
rm -f /etc/yum.repos.d/webmin.repo