summaryrefslogtreecommitdiffstats
path: root/scripts/firstrun/10-firefox
diff options
context:
space:
mode:
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'"