mirror of
https://github.com/spritsail/plex-media-server.git
synced 2025-06-14 06:51:13 +00:00
Build multiarch amd64/arm64 Plex images
Signed-off-by: Adam Dodman <adam@adam-ant.co.uk> Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
@ -35,7 +35,7 @@ if su-exec -e [ ! -w "$CONFIG_DIR" ]; then
|
||||
2>&1 echo -e "${RED}#######################################################${RESET}"
|
||||
2>&1 echo
|
||||
|
||||
chown $SUID:$SGID "$CONFIG_DIR"
|
||||
chown "$SUID:$SGID" "$CONFIG_DIR"
|
||||
chmod o+rw "$CONFIG_DIR"
|
||||
fi
|
||||
|
||||
@ -44,11 +44,11 @@ export PREF_FILE="$CONFIG_DIR/Preferences.xml"
|
||||
|
||||
exec su-exec -e sh <<EOF
|
||||
|
||||
source plex-util.sh
|
||||
. plex-util.sh
|
||||
|
||||
# Generate a default configuration on first run, including some user-specified values
|
||||
if [ ! -e "\$PREF_FILE" ]; then
|
||||
source gen-config.sh
|
||||
. gen-config.sh
|
||||
fi
|
||||
|
||||
# Changes the log verbosity (Environment variable takes precedence on Plex Config)
|
||||
|
Reference in New Issue
Block a user