X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=jessie_postinstall.sh;h=6a5af271e128cfc53fa444e411a19c9d6d5351ee;hb=8af1e74b9b5cbef90057f8a52edffe7fe24cd913;hp=419805ff33e67c35e2586e9200385d6a94ae35e6;hpb=47c754515a2c4eca8d8e90c75231a3a26e46f0c4;p=config diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 419805f..6a5af27 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -259,13 +259,14 @@ if [ "$1" = "server" ]; then ln -s /home/plom/dump/ /var/www/html/dump su - plom -c 'mkdir -p /home/plom/geheim' ln -s /home/plom/geheim/ /var/www/html/geheim + su - plom -c 'mkdir -p /home/plom/lesekreis' + ln -s /home/plom/geheim/ /var/www/html/lesekreis 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 install pandoc fi elif [ "$1" = "thinkpad" ]; then