20,14 → 20,19 |
function list () { |
for i in $ALL_PROFILS |
do |
if [ $Lang == "fr" ] |
then |
echo "Comptes liés au profil '$i' :" |
if [ $Lang == "fr" ] |
then |
echo -n "Comptes liés au profil '$i' : " |
|
else |
echo "accounts linked with profile '$i' :" |
fi |
cat $DIR_KEY/key_only_$i | cut -d':' -f1|sort |
else |
echo -n "accounts linked with profile '$i' : " |
fi |
account_list=`cat $DIR_KEY/key_only_$i | cut -d':' -f1|sort` |
for account in $account_list |
do |
echo -n "$account " |
done |
echo |
done |
} |
# ajoute les comptes du profil "admin" aux autres profils |