summaryrefslogtreecommitdiffstats
path: root/scripts/firstrun/10-firefox
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-04-08 12:48:29 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-04-08 12:48:29 +0200
commit58e19936233732887a284fcb910671a36eb7563a (patch)
tree93cf9047c650071b8823e16f5a4e0085eded4ef3 /scripts/firstrun/10-firefox
parent638450465614e7a7a6e522b972e1424fa21030eb (diff)
downloaddotfiles-58e19936233732887a284fcb910671a36eb7563a.tar.gz
dotfiles-58e19936233732887a284fcb910671a36eb7563a.tar.xz
dotfiles-58e19936233732887a284fcb910671a36eb7563a.zip
Fine-tune firefox settings: remove extensions conditionally
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'scripts/firstrun/10-firefox')
-rw-r--r--scripts/firstrun/10-firefox4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/firstrun/10-firefox b/scripts/firstrun/10-firefox
index a16b0ed..7cd4685 100644
--- a/scripts/firstrun/10-firefox
+++ b/scripts/firstrun/10-firefox
@@ -1,4 +1,5 @@
WGET="wget -N"
+DELETE=0
# plugins
@@ -34,6 +35,7 @@ ${WGET} http://piro.sakura.ne.jp/xul/xpi/treestyletab.xpi
# ${WGET} "https://addons.mozilla.org/firefox/downloads/latest/${plugin}/addon-${plugin}-latest.xml"
#done
-firefox *.xpi && rm *.xpi
+firefox *.xpi
+[ "${DELETE}" -ne 0 ] && rm *.xpi
[ -f ~/.pentadactylrc-firstrun ] && firefox -pentadactyl "++cmd 'source ~/.pentadactylrc-firstrun'"