"MàJ expl_deploy_socle.sh"
This commit is contained in:
parent
c29f4d163e
commit
41fccbede3
@ -52,6 +52,12 @@
|
|||||||
# Initialisation de l'environement
|
# Initialisation de l'environement
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
|
if [ ! $(id -u) -eq 0 ]; then
|
||||||
|
ERROR="Seul l'utilisateur root peut utiliser ce script"
|
||||||
|
echo -e "\033[91m${ERROR}\033[0m"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
source /etc/profile.d/tetalab.sh
|
source /etc/profile.d/tetalab.sh
|
||||||
|
|
||||||
if [ ! -f ${NC_EXPL_CFG}/init.conf ]
|
if [ ! -f ${NC_EXPL_CFG}/init.conf ]
|
||||||
|
Loading…
Reference in New Issue
Block a user