Update 20-folders.sh

This commit is contained in:
Alexandre
2023-09-03 10:42:41 +02:00
committed by GitHub
parent 36ce03bb8b
commit 2cd334fa21

View File

@@ -44,7 +44,7 @@ done
# Correct home location
for folders in /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d; do
if [ -d "$folders" ]; then
sed -i "s|/share/webtop_kde|$LOCATION|g" $(find "$folders" -type f)
sed -i "s|/share/webtop_kde|$LOCATION|g" $(find "$folders" -type f) &>/dev/null || true
fi
done