aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorMikko Rantalainen <mikko.rantalainen@peda.net>2010-05-04 16:23:27 +0300
committerMikko Rantalainen <mikko.rantalainen@peda.net>2010-05-06 11:30:22 +0300
commit7d7fb9f26aa59584b7916bd6ea383473bb7bdfb7 (patch)
tree6ae1858adc78cb2dbbc0aa283a3bf2576a21fb1d /debian/rules
parent9c31a14b268b4e7c42d7302d7b3830faacc0b45a (diff)
downloadetherpad-7d7fb9f26aa59584b7916bd6ea383473bb7bdfb7.tar.gz
etherpad-7d7fb9f26aa59584b7916bd6ea383473bb7bdfb7.tar.xz
etherpad-7d7fb9f26aa59584b7916bd6ea383473bb7bdfb7.zip
Fixed debian installation scripts
Directory /usr/share/etherpad/etherpad/data was not created which caused install process to stop with error message: Adding system-user for etherpad chown: cannot access `/usr/share/etherpad/etherpad/data': No such file or directory dpkg: error processing etherpad (--install): subprocess installed post-installation script returned error exit status 1 Processing triggers for ureadahead ... Errors were encountered while processing: etherpad Fixed location of scala-library.jar in Ubuntu. This may need changes in the future to help building the JAR on both Debian based systems and other systems. Added scala-library to Build-Depends in addition to scala dependency.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 3a06dbe..dcbce4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,6 +82,8 @@ install-arch:
mkdir -p debian/etherpad/usr/share/etherpad
cp -a $$(ls | grep -v debian) debian/etherpad/usr/share/etherpad
+ # create directory to save user data
+ mkdir -p debian/etherpad/usr/share/etherpad/etherpad/data
mkdir -p debian/etherpad/etc
mv debian/etherpad/usr/share/etherpad/etherpad/etc debian/etherpad/etc/etherpad