Merge pull request #158232 from davidkna/patch-2

plex: fix plugin/scanner symlink cleanup
This commit is contained in:
Pascal Bach
2022-02-06 12:10:36 +01:00
committed by GitHub
+2
View File
@@ -65,6 +65,7 @@ buildFHSUserEnv {
# First, remove all of the symlinks in the plugins directory.
while IFS= read -r -d $'\0' f; do
echo "Removing plugin symlink: $f"
rm "$f"
done < <(find "$pluginDir" -type l -print0)
echo "Symlinking plugins"
@@ -94,6 +95,7 @@ buildFHSUserEnv {
echo "Removing old symlinks"
while IFS= read -r -d $'\0' f; do
echo "Removing scanner symlink: $f"
rm "$f"
done < <(find "$scannerDir" -type l -print0)
echo "Symlinking scanners"