releasing version 1.2
[ikiwiki] / debian / preinst
1 #!/bin/sh
2
3 #DEBHELPER#
4
5 if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2; then
6         if [ -e /etc/wikilist ]; then
7                 if [ ! -e /etc/ikiwiki/wikilist ]; then
8                         mv -f /etc/wikilist /etc/ikiwiki/wikilist
9                 else
10                         rm -f /etc/wikilist
11                 fi
12         fi
13 fi