2 # if this requires a service to be running, add something like this
3 # update-rc.d unfold defaults
4 [ -d /var/unfold ] || mkdir /var/unfold
5 chown -R www-data.www-data /var/unfold
6 chmod -R 700 /var/unfold
7 # upgrading from older packages -- temporary
8 [ -f /usr/share/unfold/myslice.sqlite3 ] && mv -f /usr/share/unfold/myslice.sqlite3 /var/unfold
9 rm -f /etc/apache2/sites*/myslice.conf
11 /usr/share/unfold/manage.py syncdb
12 /usr/share/unfold/manage.py migrate
15 service apache2 restart