mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-29 15:44:06 +00:00
Update rtletsencrypt
Should solve Issue: https://github.com/arakasi72/rtinst/issues/528
This commit is contained in:
@@ -62,14 +62,10 @@ if [ $(dpkg-query -W -f='${Status}' "certbot" 2>/dev/null | grep -c "ok installe
|
||||
aptitude -q=5 -y remove certbot python*-certbot-nginx >> $logfile 2>&1
|
||||
fi
|
||||
|
||||
# Install Snapd service if not installed
|
||||
if [ $(dpkg-query -W -f='${Status}' "snapd" 2>/dev/null | grep -c "ok installed") = 0 ]; then
|
||||
echo "Installing snapd service"
|
||||
aptitude -q=5 -y install snapd >> $logfile 2>&1
|
||||
fi
|
||||
|
||||
# Install Snapd service
|
||||
aptitude -q=5 -y install snapd >> $logfile 2>&1
|
||||
# Install the core snap in order to get the latest snapd for Debian
|
||||
if [ $osname = "Debian" ]; then snap install core >> $logfile 2>&1 && snap refresh core; fi
|
||||
if [ $osname = "Debian" ]; then snap install core >> $logfile 2>&1; snap refresh core; fi
|
||||
|
||||
# Installing Certbot
|
||||
if [ $(snap list | grep -c "certbot") = 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user