diff options
Diffstat (limited to 'debian/preinst')
-rwxr-xr-x | debian/preinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst index e566939f6..12d3d83af 100755 --- a/debian/preinst +++ b/debian/preinst @@ -5,6 +5,9 @@ if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2; then if [ -e /etc/wikilist ]; then if [ ! -e /etc/ikiwiki/wikilist ]; then + if [ ! -e /etc/ikiwiki ]; then + mkdir /etc/ikiwiki + fi mv -f /etc/wikilist /etc/ikiwiki/wikilist else rm -f /etc/wikilist |