X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/gitweb.js?a=blobdiff_plain;f=jessie_postinstall.sh;h=0a9abc241350b891dd5dc3cccb4d2f08950c209e;hb=9dee35acb05c7113b70cb300fdd404e2772d4853;hp=6a5af271e128cfc53fa444e411a19c9d6d5351ee;hpb=7cb0ae2deda0b59db7822947b9d98eae3fb6d425;p=config diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 6a5af27..0a9abc2 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -28,7 +28,7 @@ elif [ "$3" = "test.plomlompom.com" ]; then elif [ "$2" = "public" ]; then hostname="htwtxt.plomlompom" elif [ "$2" = "X200s" ]; then - hostname="X220s" + hostname="X200s" elif [ "$2" = "T450s" ]; then hostname="T450s" fi @@ -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 install pandoc + 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