Skip to content

Commit a9b5073

Browse files
committed
Update install.sh
1 parent ef639ca commit a9b5073

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

install.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ fi
1313
echo "Copie des fichiers dans ${INSTALL}"
1414
mkdir $INSTALL/etc
1515
cp ./etc/* $INSTALL/etc
16+
1617
mkdir $INSTALL/bin
17-
cp ./bin/* $INSTALL/bin
18-
chmod 700 $INSTALL/bin/*
1918
mkdir $INSTALL/lib
2019
PWD=`pwd`
2120
cp ./lib/__init__.py $INSTALL/lib
2221
ln -s $PWD/lib/backend_ldap_utils.py $INSTALL/lib/backend_ldap_utils.py
22+
ln -s $PWD/bin/changepwd.py $INSTALL/bin/changepwd.py
23+
ln -s $PWD/bin/ping.py $INSTALL/bin/ping.py
24+
ln -s $PWD/bin/resetpwd.py $INSTALL/bin/resetpwd.py
25+
ln -s $PWD/bin/upsertidentity.py $INSTALL/bin/upsertidentity.py
26+
ln -s $PWD/bin/delentity.py $INSTALL/bin/delentity.py
27+
chmod 700 $INSTALL/bin/*
2328
cp config.yml $INSTALL
24-
2529
echo "Le backend a été installé dans $INSTALL"
30+
2631
echo "Configuration"
2732
read -p "Url du serveur ldap (ldap[s]://FDQN:PORT : " HOST
2833
read -p "Dn d'authentification (doit avoir les droits d'ecriture) : " DN

0 commit comments

Comments
 (0)