chmod +x scripts

This commit is contained in:
Alexandre
2022-06-15 20:44:11 +02:00
parent 0047e2489f
commit 3351e5b29c
218 changed files with 0 additions and 9448 deletions

View File

@@ -1,27 +0,0 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
##################
# SYMLINK CONFIG #
##################
echo "Database stored in /share/plex"
if [ ! -d "/share/plex/Plex Media Server" ]; then
echo "... creating /share/plex/Plex Media Server"
mkdir -p "/share/plex/Plex Media Server"
fi
if [ -d "/config/Library/Application Support/Plex Media Server" ]; then
echo "... creating /symlink"
rm -r "/config/Library/Application Support/*"
ln -s "/share/plex/Plex Media Server" "/config/Library/Application Support"
fi
if [ ! -d "/config/Library/Application Support" ]; then
echo "... creating /symlink"
mkdir -p "/config/Library/Application Support"
ln -s "/share/plex/Plex Media Server" "/config/Library/Application Support"
fi
chown -R abc:abc /share/plex