Remove config directory after moving contents

This commit is contained in:
Alexandre
2021-12-29 16:57:58 +01:00
parent 085bbf1241
commit 78ee22a456
14 changed files with 16 additions and 1 deletions

View File

@@ -33,11 +33,13 @@ if [ ! -d /jellyfin/cache ]; then
ln -s /share/jellyfin/cache /jellyfin/cache
fi
if [ -d /config/jellyfin ]; then
echo "Moving to new location /config/addons_config/jellyfin"
mkdir -p /config/addons_config/jellyfin
chown -R abc:abc /config/addons_config/jellyfin
mv /config/jellyfin/* /config/addons_config/jellyfin/
rm /config/jellyfin
fi
if [ ! -d /config/addons_config/jellyfin ]; then