From cc3b1d2ef34f355723955ba88c6c55806e853832 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 21 Jun 2016 23:55:21 +0200 Subject: [PATCH] Extend lifelogging system. --- jessie_postinstall.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 9a98836..efe7bb2 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -264,10 +264,9 @@ if [ "$1" = "server" ]; then su - plom -c 'mkdir -p /home/plom/lifelog' ln -s /home/plom/lifelog/ /var/www/html/lifelog su - plom -c 'git init --bare /home/plom/lifelog.git' - su - plom -c 'touch /home/plom/lifelog.git/hooks/post-update' + su - plom -c 'cp ~/config/systemfiles/post-update ~/lifelog.git/hooks/' su - plom -c 'chmod a+x /home/plom/lifelog.git/hooks/post-update' - su - plom -c 'echo "#!/bin/sh" > /home/plom/lifelog.git/hooks/post-update' - su - plom -c 'echo "GIT_WORK_TREE=/home/plom/lifelog git checkout -f" >> /home/plom/lifelog.git/hooks/post-update' + apt-get -y isntall python3-docutils fi elif [ "$1" = "thinkpad" ]; then -- 2.30.2