From: Christian Heller Date: Mon, 8 Feb 2016 00:17:59 +0000 (+0100) Subject: Fix bugs from previous commit. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/decks/ledger?a=commitdiff_plain;h=f69cb594b3259d2e93481ed65fa947d2f15655f8;p=config Fix bugs from previous commit. --- diff --git a/bin/symlink.sh b/bin/symlink.sh index 49a1161..d653a0b 100755 --- a/bin/symlink.sh +++ b/bin/symlink.sh @@ -8,11 +8,11 @@ dir_user_prefix=~/config/dotfiles/user dir_user_minimal=$dir_user_prefix/minimal dir_user_machine=$dir_user_prefix/$1/minimal if [ "$3" = "" ]; then - dir_user_variety=$dir_user_machine/$2 + dir_user_variety=$dir_user_prefix/$1/$2 else - dir_user_variety=$dir_user_machine/$2/minimal + dir_user_variety=$dir_user_prefix/$1/$2/minimal fi -dir_user_subvariety=$dir_user_variety/$3 +dir_user_subvariety=$dir_user_prefix/$1/$2/$3 dir_root=~/config/dotfiles/root homedir=`echo ~` find ~ -lname $homedir'/config/*' -delete diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 0a6fcf7..8a66d6f 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -182,7 +182,7 @@ if [ "$1" = "server" ]; then su plom -c 'mkdir -p /home/plom/mail/inbox/{cur,new,tmp}' su plom -c 'mkdir -p /home/plom/mail/new_inbox/{cur,new,tmp}' sed -i 's/^delete = true$/delete = false/g' \ - /home/plom/config/dotfiles/user/server/getmail/getmailrc + /home/plom/config/dotfiles/user/server/personal/minimal/getmail/getmailrc DEBIAN_FRONTEND=noninteractive apt-get -y install getmail4 procmail mutt \ postfix maildrop cp config/systemfiles/main.cf /etc/postfix/main.cf