Subversion Repositories ALCASAR

Rev

Rev 168 | Rev 219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 168 Rev 214
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 168 2010-06-07 10:37:47Z franck $ 
2
#  $Id: alcasar.sh 214 2010-07-05 21:51:46Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 180... Line 180...
180
	then
180
	then
181
		header_install
181
		header_install
182
# On affecte le nom d'organisme
182
# On affecte le nom d'organisme
183
		header_install
183
		header_install
184
		ORGANISME=!
184
		ORGANISME=!
185
		PTN='^[a-zA-Z1-9-]*$'
185
		PTN='^[a-zA-Z0-9-]*$'
186
		until [[ $(expr $ORGANISME : $PTN) -gt 0 ]]
186
		until [[ $(expr $ORGANISME : $PTN) -gt 0 ]]
187
                do
187
                do
188
			echo -n "Entrez le nom de votre organisme : "
188
			echo -n "Entrez le nom de votre organisme : "
189
                        read ORGANISME
189
                        read ORGANISME
190
                        if [ "$ORGANISME" = "" ]
190
                        if [ "$ORGANISME" = "" ]