plex: fix plugin/scanner symlink cleanup
This commit is contained in:
parent
415bdaa0ff
commit
ef4f066697
|
@ -65,6 +65,7 @@ buildFHSUserEnv {
|
||||||
# First, remove all of the symlinks in the plugins directory.
|
# First, remove all of the symlinks in the plugins directory.
|
||||||
while IFS= read -r -d $'\0' f; do
|
while IFS= read -r -d $'\0' f; do
|
||||||
echo "Removing plugin symlink: $f"
|
echo "Removing plugin symlink: $f"
|
||||||
|
rm "$f"
|
||||||
done < <(find "$pluginDir" -type l -print0)
|
done < <(find "$pluginDir" -type l -print0)
|
||||||
|
|
||||||
echo "Symlinking plugins"
|
echo "Symlinking plugins"
|
||||||
|
@ -94,6 +95,7 @@ buildFHSUserEnv {
|
||||||
echo "Removing old symlinks"
|
echo "Removing old symlinks"
|
||||||
while IFS= read -r -d $'\0' f; do
|
while IFS= read -r -d $'\0' f; do
|
||||||
echo "Removing scanner symlink: $f"
|
echo "Removing scanner symlink: $f"
|
||||||
|
rm "$f"
|
||||||
done < <(find "$scannerDir" -type l -print0)
|
done < <(find "$scannerDir" -type l -print0)
|
||||||
|
|
||||||
echo "Symlinking scanners"
|
echo "Symlinking scanners"
|
||||||
|
|
Loading…
Reference in a new issue