Fixed installer and git urls in update scripts
This commit is contained in:
@@ -8,7 +8,7 @@ printf "OfflineIMAP: checking for upgrades... "
|
||||
if [ "$NewOfflineIMAPVer" != "$(cat /opt/OfflineIMAP3-installed)" ];
|
||||
then
|
||||
echo "update found"
|
||||
curl -L https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/$OfflineIMAPVer.tar.gz -o /tmp/olim3.tar.gz
|
||||
curl -L https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/$NewOfflineIMAPVer.tar.gz -o /tmp/olim3.tar.gz
|
||||
mkdir /opt/OfflineIMAP3
|
||||
tar -C /opt/OfflineIMAP3 -xzf /tmp/olim3.tar.gz --strip 1
|
||||
sed -i '/kerberos/c\' /opt/OfflineIMAP3/requirements.txt
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/ash
|
||||
##Script for updating SnappyMailVer
|
||||
NewSnappyMailVer=$(curl -s https://api.github.com/repos/the-djmaze/snappymail/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
|
||||
NewSnappyMailVer=$(curl -s https://api.github.com/repos/the-djmaze/snappymail/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " "| tr -d : )
|
||||
|
||||
printf "SnappyMail: checking for upgrades... "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user