turn off default site on jessie
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 10 Feb 2014 13:11:51 +0000 (14:11 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 10 Feb 2014 13:11:51 +0000 (14:11 +0100)
debian/unfold.postinst

index f0ecf8c..c5cd80d 100644 (file)
@@ -11,7 +11,8 @@ chmod -R 700 /var/unfold
 /usr/share/unfold/manage.py migrate
 # enable required stuff
 a2enmod ssl
-a2dissite default || :
+# name seems to depend on the debian distro
+a2dissite default || a2dissite 000-default || :
 a2ensite unfold.conf
 # create a server-side cert/key and passes on gids to rehash them
 unfold-init-ssl.sh