Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Keller <ffflorian@users.noreply.github.com>2016-09-25 23:48:36 +0300
committerDaniel Hansson <daniel@techandme.se>2016-09-25 23:48:36 +0300
commitb2f1a6bd8888d758d7207e509b02993f64342320 (patch)
tree8cda3f6fac5f1379702f35c564eb9cd6cfda81f3 /static/setup_secure_permissions_nextcloud.sh
parentdd9ac91a89e8c2cf0c3f2f49f161283d7830ee34 (diff)
Code Cleanup (#36)
* Cleanup + Replaced tabs with spaces + Unified if .. then + Fixed typo in 'DOCTYPE' + Unified indentation * Cleanup: More indentation fixes
Diffstat (limited to 'static/setup_secure_permissions_nextcloud.sh')
-rw-r--r--static/setup_secure_permissions_nextcloud.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/setup_secure_permissions_nextcloud.sh b/static/setup_secure_permissions_nextcloud.sh
index 9ba47f42..36c4d8b7 100644
--- a/static/setup_secure_permissions_nextcloud.sh
+++ b/static/setup_secure_permissions_nextcloud.sh
@@ -26,12 +26,12 @@ chmod +x ${ncpath}/occ
printf "chmod/chown .htaccess\n"
if [ -f ${ncpath}/.htaccess ]
- then
- chmod 0644 ${ncpath}/.htaccess
- chown ${rootuser}:${htgroup} ${ncpath}/.htaccess
+then
+ chmod 0644 ${ncpath}/.htaccess
+ chown ${rootuser}:${htgroup} ${ncpath}/.htaccess
fi
if [ -f ${NCDATA}/.htaccess ]
- then
- chmod 0644 ${NCDATA}/.htaccess
- chown ${rootuser}:${htgroup} ${NCDATA}/.htaccess
+then
+ chmod 0644 ${NCDATA}/.htaccess
+ chown ${rootuser}:${htgroup} ${NCDATA}/.htaccess
fi