Update install-webmin.sh

This commit is contained in:
2023-07-31 18:03:10 -05:00
parent eac5d8daac
commit b106895b7e

View File

@@ -2,6 +2,7 @@
# Webmin Install Script
if type apt &>/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 -
@@ -10,6 +11,7 @@ if type apt &>/dev/null; then
apt -y install webmin
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 -
@@ -18,6 +20,7 @@ elif type apt-get &>/dev/null; then
apt-get -y install webmin
elif type yum &>/dev/null; then
rm -f /etc/yum.repos.d/webmin.repo
cat << EOF > /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral