83,25 → 83,12 |
license () |
{ |
if [ $Lang == "fr" ] |
then |
cat $DIR_INSTALL/gpl-warning.fr.txt | more |
else |
cat $DIR_INSTALL/gpl-warning.txt | more |
then cat $DIR_INSTALL/gpl-3.0.fr.txt | more |
else cat $DIR_INSTALL/gpl-3.0.txt | more |
fi |
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 |
echo "Taper sur Entrée pour continuer !" |
echo "Enter to continue." |
read a |
} |
|
header_install () |
2026,8 → 2013,8 |
exit 0 |
;; |
-i | --install) |
license |
header_install |
license |
testing |
# RPMs install |
$DIR_SCRIPTS/alcasar-urpmi.sh |