correction of files format to ANSI, L-CL

This commit is contained in:
Alexandre
2020-12-12 13:12:01 +01:00
parent 62cfdf646a
commit 3c9890da2f
6 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
# permissions
#permissions
chown abc:abc \
/data/config/nextcloud/config \
/data/config/nextcloud/data

View File

@@ -1,11 +1,11 @@
#!/usr/bin/with-contenv bash
# create folders
# create folders
mkdir -p \
"${NEXTCLOUD_PATH}" \
/data/config/crontabs
# install app
# install app
if [ ! -e "${NEXTCLOUD_PATH}/index.php" ]; then
tar xf /app/nextcloud.tar.bz2 -C \
"${NEXTCLOUD_PATH}" --strip-components=1
@@ -14,7 +14,7 @@ if [ ! -e "${NEXTCLOUD_PATH}/index.php" ]; then
chmod +x "${NEXTCLOUD_PATH}/occ"
fi
# set cronjob
#?set cronjob
[[ ! -f /data/config/crontabs/root ]] && \
cp /defaults/root /data/config/crontabs/root
cp /data/config/crontabs/root /etc/crontabs/root

View File

@@ -4,6 +4,6 @@
[[ ! -f /data/config/www/nextcloud/config/config.php ]] && \
cp /defaults/config.php /data/config/www/nextcloud/config/config.php
# permissions
# permissions
chown abc:abc \
/data/config/www/nextcloud/config/config.php