Correct Change of occ location

https://github.com/alexbelgium/hassio-addons/issues/911#issuecomment-1646543219
This commit is contained in:
Alexandre
2023-07-22 11:44:00 +02:00
committed by GitHub
parent ef9edb8b08
commit 8b5cbc6a27

View File

@@ -37,7 +37,6 @@ find "${ocpath}"/ -type d -exec chmod 0750 {} \;
printf "chown Directories. This could take some time, please wait...\n"
chown -R ${rootuser}:${htgroup} "${ocpath}"/
chmod +x "${ocpath}"/occ
for folder in "${ocpath}"/apps/ "${ocpath}"/assets/ "${ocpath}"/config/ "${ocpath}"/data/ "${ocpath}"/themes/ /ssl/nextcloud/keys; do
chown -R ${htuser}:${htgroup} "$folder" || true
done