1.1 --- a/OpenSecurity/vm/usr/local/bin/ff Mon Dec 02 16:02:00 2013 +0100
1.2 +++ b/OpenSecurity/vm/usr/local/bin/ff Mon Dec 02 16:13:59 2013 +0100
1.3 @@ -3,7 +3,7 @@
1.4 # create a disposable firefox session
1.5 #
1.6 # Remark: this script expects the firefox sessions
1.7 -# to be stored in ~/.mozilla/fireofx
1.8 +# to be stored in ~/.mozilla/firefox
1.9 #
1.10
1.11 # pick the next profile number
1.12 @@ -13,13 +13,13 @@
1.13 PROFILE_NAME=$(echo ${PROFILE_PATH} | awk -F '.' '{ print $NF; }')
1.14
1.15 # create a fake times.json
1.16 -cat > ${PROFILE_PATH}/times.json << __EO_TIMES_JSON__
1.17 +cat > ~/.mozilla/firefox/${PROFILE_PATH}/times.json << __EO_TIMES_JSON__
1.18 {
1.19 "created": ${PROFILE_TIMESTAMP}
1.20 }
1.21 __EO_TIMES_JSON__
1.22
1.23 -# add out new "profile" to firefox
1.24 +# add our new "profile" to firefox
1.25 cat >> ~/.mozilla/firefox/profiles.ini << __EO_PROFILES_INI__
1.26 [Profile${PROFILE_NUMBER}]
1.27 Name=${PROFILE_NAME}