mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Update 98-striptracks
Fixed the inconsistent stat command after a change to chown
This commit is contained in:
@@ -34,7 +34,7 @@ if [ ! -f /usr/bin/mkvmerge ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Change ownership
|
# Change ownership
|
||||||
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "users" ]; then
|
if [ $(stat -c '%G' /usr/local/bin/striptracks.sh) != "abc" ]; then
|
||||||
echo "Changing ownership on scripts."
|
echo "Changing ownership on scripts."
|
||||||
chown abc:abc /usr/local/bin/striptracks*.sh
|
chown abc:abc /usr/local/bin/striptracks*.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user