Ignore outcome of chown /app & /config
This commit is contained in:
parent
90aaf388cb
commit
57e2cce893
@ -59,11 +59,11 @@ echo "Checking permissions in /config and /app."
|
|||||||
if [ -n "$(find /app \! -user ${PUID})" ] || [ -n "$(find /app \! -group ${PGID})" ]
|
if [ -n "$(find /app \! -user ${PUID})" ] || [ -n "$(find /app \! -group ${PGID})" ]
|
||||||
then
|
then
|
||||||
echo "Fixing permissions for /app (this can take some time)."
|
echo "Fixing permissions for /app (this can take some time)."
|
||||||
chown -R cronicle:cronicle /app
|
chown -R cronicle:cronicle /app || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$(find /config \! -user ${PUID})" ] || [ -n "$(find /config \! -group ${PGID})" ]
|
if [ -n "$(find /config \! -user ${PUID})" ] || [ -n "$(find /config \! -group ${PGID})" ]
|
||||||
then
|
then
|
||||||
echo "Fixing permissions for /config (this can take some time)."
|
echo "Fixing permissions for /config (this can take some time)."
|
||||||
chown -R cronicle:cronicle /config
|
chown -R cronicle:cronicle /config || true
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user