git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
[myslice.git]
/
debian
/
unfold.postinst
diff --git
a/debian/unfold.postinst
b/debian/unfold.postinst
index
b585108
..
de85dd3
100644
(file)
--- a/
debian/unfold.postinst
+++ b/
debian/unfold.postinst
@@
-1,3
+1,10
@@
#!/bin/bash
# if this requires a service to be running, add something like this
# update-rc.d unfold defaults
#!/bin/bash
# if this requires a service to be running, add something like this
# update-rc.d unfold defaults
+/usr/share/unfold/manage.py syncdb
+/usr/share/unfold/manage.py migrate
+chmod 777 /usr/share/unfold/myslice.sqlite3
+chmod 777 /usr/share/unfold
+a2dissite default
+a2ensite myslice.conf
+service apache2 restart