Update prefsCleaner.sh

This commit is contained in:
earthlng 2022-12-10 14:35:48 +00:00 committed by GitHub
parent 12ca83b550
commit 7135907b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ update_prefsCleaner() {
mv "$tmpfile" "$SCRIPT_FILE"
chmod u+x "$SCRIPT_FILE"
"$SCRIPT_FILE" -s -d
"$SCRIPT_FILE" "$@" -d
exit 0
}
@ -132,7 +132,7 @@ done
## change directory to the Firefox profile directory
cd "$(dirname "${SCRIPT_FILE}")"
[ "$AUTOUPDATE" = true ] && update_prefsCleaner
[ "$AUTOUPDATE" = true ] && update_prefsCleaner "$@"
echo -e "\n\n"
echo " ╔══════════════════════════╗"