summarylogtreecommitdiffstats
path: root/cleaner.patch
blob: 8d51ecf4c6eaddc5efd13e1e81a410bd26998f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- prefsCleaner.sh
+++ prefsCleaner.sh
@@ -9,11 +8,0 @@
-currdir=$(pwd)
-
-## get the full path of this script (readlink for Linux, greadlink for Mac with coreutils installed)
-sfp=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null)
-
-## fallback for Macs without coreutils
-if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi
-
-## change directory to the Firefox profile directory
-cd "$(dirname "${sfp}")"
-
@@ -21,2 +9,0 @@
-	## change directory back to the original working directory
-	cd "${currdir}"