Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!
| author | Michael Prokop <mika@grml.org> |
| Wed Feb 27 18:22:27 2008 +0100 (9 months ago) | |
| changeset 13 | bd79e7b181e8 |
| manifest | bd79e7b181e8 |
| parent 12 | eef278bf8952 |
| child 14 | f11fec23ddb1 |
--- a/debian/preinst Wed Feb 27 18:04:23 2008 +0100+++ b/debian/preinst Wed Feb 27 18:22:27 2008 +0100@@ -4,15 +4,17 @@# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org># Bug-Reports: see http://grml.org/bugs/# License: This file is licensed under the GPL v2.-# Latest change: Mit Feb 27 18:01:13 CET 2008 [mika]+# Latest change: Mit Feb 27 18:22:17 CET 2008 [mika]################################################################################set -ecase "$1" ininstall|upgrade)- # get rid of this diversion, let's use /etc/skel/.mozilla* for bookmarks only:- if dpkg --compare-versions $2 lt 0.3.2 ; then+ # get rid of this diversion, let's use /etc/skel/.mozilla* for bookmarks only;+ # grml-firefox stopped shipping the file starting with 0.3.3, so remove+ # the diversion when upgrading from versions older than 0.3.3+ if dpkg --compare-versions $2 lt 0.3.3 ; thenif dpkg-divert --list /etc/mozilla-firefox/profile/bookmarks.html | grep -q grml-firefox ; thendpkg-divert --remove --rename --package grml-firefox --divert \/etc/mozilla-firefox/profile/bookmarks.html.original \