Compare commits

...

3 Commits

Author SHA1 Message Date
8740e48151 maj deps php8.2 2025-02-16 19:19:33 +04:00
6e7c3f83a6 cosmetic 2025-02-13 22:28:29 +04:00
b5de4d9774 bug 2025-02-13 22:24:16 +04:00
3 changed files with 7 additions and 7 deletions

View File

@ -4,5 +4,5 @@
RUNPHP=
# Si RUNPHP n'est pas défini, les variables suivantes peuvent être définies
DIST=d11
DIST=d12
#REGISTRY=pubdocker.univ-reunion.fr/dist

View File

@ -15,12 +15,12 @@
}
},
"require": {
"symfony/yaml": "^5.0",
"symfony/yaml": "^7.1",
"ext-json": "*",
"php": "^7.4"
"php": "^8.2"
},
"require-dev": {
"nulib/tests": "^7.4",
"nulib/tests": "^8.2",
"ext-posix": "*",
"ext-pcntl": "*",
"ext-curl": "*"

View File

@ -95,7 +95,7 @@ function build_check_env() {
if [ -n "$updated" ]; then
enote "IMPORTANT: vous devez paramétrer certains fichiers avant de pouvoir construire les images"
if [ -n "$updatedenv" ]; then
if [ -a $(id -u) -ne 0 ]; then
if [ $(id -u) -ne 0 ]; then
setx userent=getent passwd "$(id -un)"
setx userent=qval "$userent"
setx groupent=getent group "$(id -gn)"
@ -106,11 +106,11 @@ function build_check_env() {
/^DEVUSER_GROUPENT=/s/=.*/=${groupent//\//\\\/}/
" "$PROJDIR/$BUILDENV"
fi
enote "\
einfo "\
Veuillez vérifier le fichier $BUILDENV
${EDITOR:-nano} $BUILDENV"
fi
[ ${#updatedfiles[*]} -gt 0 ] && enote "\
[ ${#updatedfiles[*]} -gt 0 ] && einfo "\
Le cas échéant, veuillez vérifier ce(s) fichier(s)
${EDITOR:-nano} $(qvals "${updatedfiles[@]}")"
enote "ENSUITE, vous pourrez relancer la commande"