X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Funfold.postinst;h=dd5c68051c3324067dbab5b2ed29264e2ee28429;hb=a52c3773de8611def256d97dd699ba09d390b8fd;hp=2fe651c697ae7d906357a5f3ef6c216cf75140d1;hpb=77e560559803ca62833a584d13dd3f85851acf5a;p=myslice.git diff --git a/debian/unfold.postinst b/debian/unfold.postinst index 2fe651c6..dd5c6805 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -4,6 +4,10 @@ [ -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 a2dissite default