X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=jessie_postinstall.sh;h=a536eee24d8c215ff1c4b626eb402a0de8abd862;hb=7b6674e4ef8a34699ba60c3ac79708e17818c721;hp=efe7bb29b627d2d3d0169ed2c2202aef692ef879;hpb=cc3b1d2ef34f355723955ba88c6c55806e853832;p=config diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index efe7bb2..a536eee 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -192,7 +192,7 @@ if [ "$1" = "server" ]; then newaliases service postfix restart if [ "$2" = "personal" ]; then - apt-get -y install getmail4 procmail + apt-get -y install getmail4 procmail fi # Set up regular system update reminder. @@ -261,12 +261,18 @@ if [ "$1" = "server" ]; then 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 'cp ~/config/systemfiles/post-update ~/lifelog.git/hooks/' - su - plom -c 'chmod a+x /home/plom/lifelog.git/hooks/post-update' - apt-get -y isntall python3-docutils + su - plom -c 'mkdir -p /home/plom/zettel' + ln -s /home/plom/zettel/ /var/www/html/zettel + su - plom -c 'git init --bare /home/plom/zettel.git' + su - plom -c 'cp ~/config/systemfiles/post-update ~/zettel.git/hooks/' + su - plom -c 'chmod a+x /home/plom/zettel.git/hooks/post-update' + + # Install website generator tools + apt-get -y install pandoc wget + wget http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz + tar -oxzf redo-sh.tar.gz -C /usr/local + rm redo-sh.tar.gz + apt-get --purge autoremove wget fi elif [ "$1" = "thinkpad" ]; then