2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-06-15 23:41:11 +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:
2022-06-19 16:02:00 +01:00
parent df4df5818b
commit 2c2269742a
6 changed files with 152 additions and 96 deletions

View File

@ -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)