mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Update zpush.sh
Updated Z-Push repo that works with PHP8 and Mail-in-a-box
This commit is contained in:
parent
6f94412204
commit
95ca188e9a
@ -22,8 +22,8 @@ apt_install \
|
|||||||
phpenmod -v $PHP_VER imap
|
phpenmod -v $PHP_VER imap
|
||||||
|
|
||||||
# Copy Z-Push into place.
|
# Copy Z-Push into place.
|
||||||
VERSION=2.6.2
|
VERSION=2.6.4-php8-0.2
|
||||||
TARGETHASH=f0e8091a8030e5b851f5ba1f9f0e1a05b8762d80
|
TARGETHASH=90232303c0326a713932988546fb6274c3313266
|
||||||
needs_update=0 #NODOC
|
needs_update=0 #NODOC
|
||||||
if [ ! -f /usr/local/lib/z-push/version ]; then
|
if [ ! -f /usr/local/lib/z-push/version ]; then
|
||||||
needs_update=1 #NODOC
|
needs_update=1 #NODOC
|
||||||
@ -33,7 +33,7 @@ elif [[ $VERSION != $(cat /usr/local/lib/z-push/version) ]]; then
|
|||||||
fi
|
fi
|
||||||
if [ $needs_update == 1 ]; then
|
if [ $needs_update == 1 ]; then
|
||||||
# Download
|
# Download
|
||||||
wget_verify "https://github.com/Z-Hub/Z-Push/archive/refs/tags/$VERSION.zip" $TARGETHASH /tmp/z-push.zip
|
wget_verify "https://github.com/matidau/Z-Push/archive/refs/tags/$VERSION.zip" $TARGETHASH /tmp/z-push.zip
|
||||||
|
|
||||||
# Extract into place.
|
# Extract into place.
|
||||||
rm -rf /usr/local/lib/z-push /tmp/z-push
|
rm -rf /usr/local/lib/z-push /tmp/z-push
|
||||||
|
Loading…
Reference in New Issue
Block a user