turn off default site on jessie
[unfold.git] / 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