2
0
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:
2022-06-19 16:03:35 +01:00
parent d34d9d2fcc
commit 4579290641
6 changed files with 152 additions and 76 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)