Skip to content

Commit 1c4a307

Browse files
author
Kristan Kenney
committed
Fixes to upgrade script for OS detection
1 parent d62ef1a commit 1c4a307

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/upgrade/0.9.8-29.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ fi
8686

8787
# Install and configure z-push
8888
if [ ! -z "$MAIL_SYSTEM" ]; then
89-
echo "(*) Install and configure Z-Push"
90-
if [ "$os" == 'ubuntu' ]; then
89+
echo "(*) Installing Z-Push..."
90+
if [ "$os" = 'ubuntu' ]; then
9191
echo "deb http://repo.z-hub.io/z-push:/final/Ubuntu_$release/ /" > $apt/z-push.list
9292
wget --quiet http://repo.z-hub.io/z-push:/final/Ubuntu_$release/Release.key -O /tmp/z-push_signing.key
9393
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/z-push_signing.key > /dev/null 2>&1
@@ -104,7 +104,7 @@ if [ ! -z "$MAIL_SYSTEM" ]; then
104104
fi
105105

106106
apt-get -qq update > /dev/null 2>&1
107-
apt-get -qq -y install z-push-common z-push-backend-imap > /dev/null 2>&1
107+
apt-get -qq -y install z-push-common z-push-backend-imap z-push-backend-combined > /dev/null 2>&1
108108
fi
109109

110110
# Update default page templates

0 commit comments

Comments
 (0)