X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Funfold.postinst;h=f307b31975866ef58b51f6bca826b2973b6fc8a7;hb=8a09c0920e21c050199637bd3a7295a7865a264d;hp=dd5c68051c3324067dbab5b2ed29264e2ee28429;hpb=34e179436882d33c2e5af52fa17068465d5ba130;p=myslice.git diff --git a/debian/unfold.postinst b/debian/unfold.postinst index dd5c6805..f307b319 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -4,12 +4,11 @@ [ -d /var/unfold ] || mkdir /var/unfold chown -R www-data.www-data /var/unfold chmod -R 700 /var/unfold -# upgrading from older packages -- temporary -[ -f /usr/share/unfold/myslice.sqlite3 ] && mv -f /usr/share/unfold/myslice.sqlite3 /var/unfold -rm -f /etc/apache2/sites*/myslice.conf # upgrading end /usr/share/unfold/manage.py syncdb /usr/share/unfold/manage.py migrate +# enable required stuff +a2enmod ssl a2dissite default a2ensite unfold.conf service apache2 restart