Fixed CT's : elkarbackupALP,duplicati,OmadaV3,transfersh,hass,pihole
Github updated api and now appends a semicolon to versions, added `tr -d :` to list for url filtering elkarbackupALP: * Github api Fix duplicati: * Github api fix * Enabled in jenkinsfile OmadaV3: * Added Stop command for omada after installation to avoid DB corruption * Moved automaticaly installed dependencies to package list transfersh: * Github api fix hass: * Added Missing python modules (sqlalchemy nvhash) mailbackup: * Github api fix * Moved downlading of resources to project pihole: *Added support for ProxmoxHelper App updater
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
#!/bin/ash
|
||||
#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 " " |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" > /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
|
||||
DistoBuilderINT=true ResourceFolder=/opt/Setup ash /opt/Setup/MailBackup-sys/install.sh
|
||||
DistoBuilderINT=true ash /opt/Setup/MailBackup-sys/install.sh
|
||||
|
||||
#cleanup
|
||||
rm -rf /opt/Setup/MailBackup-sys
|
||||
|
||||
4
CT-Files/mailbackup/Scripts/PTKAppUpdate.sh
Normal file
4
CT-Files/mailbackup/Scripts/PTKAppUpdate.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
|
||||
ash /opt/UpdateOfflineImap3.sh
|
||||
ash /opt/UpdateSnappyMail.sh
|
||||
Reference in New Issue
Block a user