Subversion Repositories ALCASAR

Rev

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

Rev 1759 Rev 1760
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1759 2016-01-13 22:53:30Z richard $ 
2
#  $Id: alcasar.sh 1760 2016-01-13 23:08:17Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 741... Line 741...
741
EOF
741
EOF
742
# Définition du premier compte lié au profil 'admin'
742
# Définition du premier compte lié au profil 'admin'
743
 
743
 
744
# !! remove when > V2.9.2 (we need to create new accounts)
744
# !! remove when > V2.9.2 (we need to create new accounts)
745
# if [ "$mode" = "install" ]
745
# if [ "$mode" = "install" ]
746
	then
746
#	then
747
		header_install
747
		header_install
748
		admin_portal=!
748
		admin_portal=!
749
		PTN='^[a-zA-Z0-9-]*$'
749
		PTN='^[a-zA-Z0-9-]*$'
750
		until [[ $(expr $admin_portal : $PTN) -gt 0 ]]
750
		until [[ $(expr $admin_portal : $PTN) -gt 0 ]]
751
                	do
751
                	do