Update 00-folders.sh

This commit is contained in:
Alexandre
2022-05-19 18:31:58 +02:00
committed by GitHub
parent 5347d675af
commit 3cde51f16d

View File

@@ -34,7 +34,7 @@ change_folders () {
fi
if [ "$TYPE" = "data_location" ]; then
[ -f "$FILE" ] && jq --arg variable "$CONFIGLOCATION" '.directory_root = $variable' "$FILE" | sponge "$FILE"
[ -f "$FILE" ] && jq --arg variable "$CONFIGLOCATION" '.files_default_path = $variable' "$FILE" | sponge "$FILE"
[ -f "$FILE" ] && jq --arg variable "$CONFIGLOCATION/downloads" '.files_default_path = $variable' "$FILE" | sponge "$FILE"
fi
done