From 5f280af23ce105beba10fe5d5e9699269f8b531a Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 15 May 2006 16:00:34 +0000 Subject: releasing version 1.2 --- debian/preinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 debian/preinst (limited to 'debian/preinst') diff --git a/debian/preinst b/debian/preinst new file mode 100755 index 000000000..e566939f6 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +#DEBHELPER# + +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2; then + if [ -e /etc/wikilist ]; then + if [ ! -e /etc/ikiwiki/wikilist ]; then + mv -f /etc/wikilist /etc/ikiwiki/wikilist + else + rm -f /etc/wikilist + fi + fi +fi -- cgit v1.2.3