01-iceweasel: remove backup file in fcopy cmdline
authorMichael Prokop <mika@grml.org>
Thu, 8 Dec 2011 14:46:54 +0000 (15:46 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 8 Dec 2011 14:46:56 +0000 (15:46 +0100)
Since 01-iceweasel might be (or: is) executed after GRMLBASE/98-clean-chroot
the /etc/iceweasel/profile/prefs.js.pro_fcopy might be left.
Avoid that by using fcopy's -B switch.

etc/grml/fai/config/scripts/GRML_FULL/01-iceweasel

index b32fffc..3603e57 100755 (executable)
@@ -9,7 +9,7 @@
 set -u
 set -e
 
-fcopy -v /etc/iceweasel/profile/prefs.js
+fcopy -B -v /etc/iceweasel/profile/prefs.js
 
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2