diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-03-09 10:40:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-03-09 10:40:11 -0300 |
commit | f0df3ee9d5b887278f9eadced61ed48284b6664e (patch) | |
tree | 12ec2ca84220d860bfd6cbca59510502b5eae938 | |
parent | 1e43f69be26f77c2ba07261a9cddc062cfe04a0a (diff) | |
download | utils-x11-f0df3ee9d5b887278f9eadced61ed48284b6664e.tar.gz utils-x11-f0df3ee9d5b887278f9eadced61ed48284b6664e.tar.bz2 |
Support for starting the template template at firefox-profile
-rwxr-xr-x | firefox-profile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox-profile b/firefox-profile index 8e5e490..a5dc545 100755 --- a/firefox-profile +++ b/firefox-profile @@ -14,11 +14,13 @@ if ! which firefox &> /dev/null; then fi # Dispatch -if [ ! -z "$1" ] && [ "$1" != "template" ]; then +#if [ ! -z "$1" ] && [ "$1" == "private" ]; then +# firefox -private +if [ ! -z "$1" ]; then if [ ! -d "$PROFILES/$1" ]; then firefox -CreateProfile "$1 $PROFILES/$1" - if [ -d "$PROFILES/template" ]; then + if [ -d "$PROFILES/template" ] && [ "$1" != "template" ]; then rm -rf $PROFILES/$1 && cp -a $PROFILES/template $PROFILES/$1 fi fi |