]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
owncloud: with non-existent certificates they were not copied. corrected install...
authorDaniel Weismüller <daniel.weismueller@ipfire.org>
Fri, 2 May 2014 06:33:45 +0000 (08:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Jul 2014 17:24:50 +0000 (19:24 +0200)
src/paks/owncloud/install.sh

index 10aef4541a6df35cc27c8325d114db17418d872b..e2ad07d4075adb555ce503b9a891b3f0db85720f 100644 (file)
@@ -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