From: Daniel Weismüller Date: Fri, 2 May 2014 06:33:45 +0000 (+0200) Subject: owncloud: with non-existent certificates they were not copied. corrected install... X-Git-Tag: v2.15-core80~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=893450d382eb08808583fe4edaa15de730106b03;p=ipfire-2.x.git owncloud: with non-existent certificates they were not copied. corrected install.sh to the effect --- diff --git a/src/paks/owncloud/install.sh b/src/paks/owncloud/install.sh index 10aef4541a..e2ad07d407 100644 --- a/src/paks/owncloud/install.sh +++ b/src/paks/owncloud/install.sh @@ -34,7 +34,7 @@ mkdir -p /var/owncloud/data chown -R nobody:nobody /var/owncloud # Import web interface certificates if none exist. -if [ ! -e "/etc/httpd/owncloud.crt" ] && [ ! "/etc/httpd/owncloud.key" ]; then +if [ ! -e "/etc/httpd/owncloud.crt" ] && [ ! -e "/etc/httpd/owncloud.key" ]; then cat /etc/httpd/server.crt > /etc/httpd/owncloud.crt cat /etc/httpd/server.key > /etc/httpd/owncloud.key fi