aboutsummaryrefslogtreecommitdiff
path: root/debian/preinst
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-16 15:20:33 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-16 15:20:33 +0000
commit37221453e2b1757aa970f4837a3f5a8041f07227 (patch)
tree6f19300e82572976ba462a360c7fca6c2a9f6617 /debian/preinst
parent0905a8f0464a5f7aea5eee8f6c7f2a0579a4a522 (diff)
downloadikiwiki-37221453e2b1757aa970f4837a3f5a8041f07227.tar
ikiwiki-37221453e2b1757aa970f4837a3f5a8041f07227.tar.gz
releasing version 1.3
Diffstat (limited to 'debian/preinst')
-rwxr-xr-xdebian/preinst3
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