just cosmetic changes
This commit is contained in:
claustromaniac 2018-04-21 01:14:53 +00:00 committed by GitHub
parent 3c093e6cb3
commit cada20ac99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
## prefs.js cleaner for Linux/Mac ## prefs.js cleaner for Linux/Mac
## author: @claustromaniac ## author: @claustromaniac
## version: 1.0b2 ## version: 1.0b3
## special thanks to @overdodactyl and @earthlng for a few snippets that I stol..*cough* borrowed from the updater.sh ## special thanks to @overdodactyl and @earthlng for a few snippets that I stol..*cough* borrowed from the updater.sh
@ -58,10 +58,11 @@ fClean() {
done < $1 > prefs.js done < $1 > prefs.js
} }
echo -e "\n ╔══════════════════════════╗" echo -e "\n\n"
echo " ╔══════════════════════════╗"
echo " ║ prefs.js cleaner ║" echo " ║ prefs.js cleaner ║"
echo " ║ by claustromaniac ║" echo " ║ by claustromaniac ║"
echo " ║ v1.0b2 ║" echo " ║ v1.0b3 ║"
echo " ╚══════════════════════════╝" echo " ╚══════════════════════════╝"
echo -e "\nThis script should be run from your Firefox profile directory.\n" echo -e "\nThis script should be run from your Firefox profile directory.\n"
echo "It will remove any entries from prefs.js that also exist in user.js." echo "It will remove any entries from prefs.js that also exist in user.js."
@ -81,7 +82,7 @@ do
fFF_check fFF_check
bakfile="prefs.js.backup.$(date +"%Y-%m-%d_%H%M")" bakfile="prefs.js.backup.$(date +"%Y-%m-%d_%H%M")"
mv prefs.js "${bakfile}" && echo "prefs.js backed up." mv prefs.js "${bakfile}" && echo "\nprefs.js backed up."
echo "Cleaning prefs.js..." echo "Cleaning prefs.js..."
fClean $bakfile fClean $bakfile
echo "All done!" echo "All done!"