Fixed erros in multiple CT's

Added fixes for: Pihole , aptcacher, OmdaV3, mailbackup  and nginx
This commit is contained in:
2022-07-03 01:22:36 +02:00
parent d07e00b7d9
commit 78e1c37491
6 changed files with 14 additions and 5 deletions

View File

@@ -2,10 +2,10 @@
#Get Resources
git clone https://git.bprieshof.nl/Tools/MailBackup-sys.git /opt/Setup/MailBackup-sys
CurrentVersion=$(curl -s https://api.github.com/repos/RainLoop/rainloop-webmail/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
OfflineIMAPVer=$(curl -s https://api.github.com/repos/OfflineIMAP/offlineimap3/tags | grep 'name.*' |head -n 1 | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
OfflineIMAPVer=$(curl -s https://api.github.com/repos/OfflineIMAP/offlineimap3/tags | grep 'name.*' |head -n 1 | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " " |tr -d :)
echo $CurrentVersion > /opt/Setup/rainloop-installed
curl -L --retry 7 --retry-delay 5 http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip -o /opt/Setup/rlcl.zip || exit 1
echo "$OfflineIMAPVer" > CT-Files/OfflineIMAP3-installed
echo "$OfflineIMAPVer" > /opt/Setup/OfflineIMAP3-installed
curl -L --retry 7 --retry-delay 5 https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/$OfflineIMAPVer.tar.gz -o /opt/Setup/olim3.tar.gz || exit 1
#Install and configure using git.bprieshof.nl MailBackup-sys