Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1537 → Rev 1538

/alcasar.sh
83,12 → 83,25
license ()
{
if [ $Lang == "fr" ]
then cat $DIR_INSTALL/gpl-3.0.fr.txt | more
else cat $DIR_INSTALL/gpl-3.0.txt | more
then
cat $DIR_INSTALL/gpl-warning.fr.txt | more
else
cat $DIR_INSTALL/gpl-warning.txt | more
fi
echo "Taper sur Entrée pour continuer !"
echo "Enter to continue."
read a
response=0
PTN='^[oOyYnN]$'
until [[ $(expr $response : $PTN) -gt 0 ]]
do
if [ $Lang == "fr" ]
then echo -n "Accéptez-vous les termes de cette licence (O/n)? : "
else echo -n "Do you accept the terms of this license (Y/n)? : "
fi
read response
done
if [ "$response" = "n" ] || [ "$response" = "N" ]
then
exit 1
fi
}
 
header_install ()
2013,8 → 2026,8
exit 0
;;
-i | --install)
header_install
license
header_install
testing
# RPMs install
$DIR_SCRIPTS/alcasar-urpmi.sh