Correction de l'image docker

This commit is contained in:
2025-07-10 23:09:30 +02:00
parent 84c52ae234
commit ad634c7ec3

View File

@ -6,11 +6,11 @@ if [ $CONF != '' ]; then
case $TASK in case $TASK in
syncGLPI) syncGLPI)
python /airwatchConnector/sync.py -c $CONF -f python3 /airwatchConnector/sync.py -c $CONF -f
;; ;;
stagingAssignment) stagingAssignment)
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
;; ;;
*) *)
@ -19,15 +19,16 @@ if [ $CONF != '' ]; then
esac esac
else else
confFiles = $(ls /airwatchConnector/conf/*.conf) confFiles = $(ls /airwatchConnector/conf/*.conf)
if [ $confFiles = '' ]; then exit 1; do
for CONF in $confFiles; do for CONF in $confFiles; do
case $TASK in case $TASK in
syncGLPI) syncGLPI)
python /airwatchConnector/sync.py -c $CONF -for python3 /airwatchConnector/sync.py -c $CONF -for
;; ;;
stagingAssignment) stagingAssignment)
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
;; ;;
*) *)