From 7d7fb9f26aa59584b7916bd6ea383473bb7bdfb7 Mon Sep 17 00:00:00 2001 From: Mikko Rantalainen Date: Tue, 4 May 2010 16:23:27 +0300 Subject: 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. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/rules') 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 -- cgit v1.2.3