mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-23 05:48:59 +02:00
zpush: missing install of 'git' which is how we fetch Z-Push sources, and git may not otherwise be available in a containerized install
This commit is contained in:
@@ -16,7 +16,7 @@ source /etc/mailinabox.conf # load global vars
|
|||||||
# Prereqs.
|
# Prereqs.
|
||||||
|
|
||||||
apt_install \
|
apt_install \
|
||||||
php-soap php5-imap libawl-php php5-xsl
|
php-soap php5-imap libawl-php php5-xsl git
|
||||||
|
|
||||||
php5enmod imap
|
php5enmod imap
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ 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
|
||||||
elif [[ $TARGETHASH != `cat /usr/local/lib/z-push/version` ]]; then
|
elif [[ $TARGETHASH != `cat /usr/local/lib/z-push/version` ]]; then
|
||||||
# checks if the version
|
# checks if the version
|
||||||
needs_update=1 #NODOC
|
needs_update=1 #NODOC
|
||||||
fi
|
fi
|
||||||
if [ $needs_update == 1 ]; then
|
if [ $needs_update == 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user