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
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