From 58e19936233732887a284fcb910671a36eb7563a Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Mon, 8 Apr 2013 12:48:29 +0200 Subject: Fine-tune firefox settings: remove extensions conditionally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- scripts/firstrun/10-firefox | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/firstrun/10-firefox') 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'" -- cgit