From fd8a2833ff5106d84abaabdf1fd6d90073f86445 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Tue, 6 Mar 2018 11:35:14 +0100 Subject: [PATCH] Fix bad proxy --- create_primtux_user.sh | 4 ++++ updateskels.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/create_primtux_user.sh b/create_primtux_user.sh index da032656..9f7ef9d3 100755 --- a/create_primtux_user.sh +++ b/create_primtux_user.sh @@ -97,6 +97,10 @@ sed -i "s@${SKELS[$level]}@$user@g" $home/.handymenu.conf # Add bookmarks files that are no in skel mkdir -p $home/.config/gtk-3.0 cp dist/bookmarks/$level $home/.config/gtk-3.0/bookmarks +for PROTO in HTTP HTTPS FTP +do + echo "export ${PROTO}_PROXY=slis:3128" >> /home/$user/.profile +done # fix samba passwd # echo "You will be prompted twice for samba password, please enter the same as for LDAP" # smbpasswd -U $user diff --git a/updateskels.sh b/updateskels.sh index 590a79af..71ba5b0b 100755 --- a/updateskels.sh +++ b/updateskels.sh @@ -26,7 +26,7 @@ do echo $d for PROTO in HTTP FTP HTPS do - echo "export $PROTO_PROXY=\"slis:3128\"" >> $d/.profile + echo "export ${PROTO}_PROXY=\"slis:3128\"" >> $d/.profile done done cd .. -- GitLab