mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-07 07:22:33 -05:00
Revert "Extend the GLPI installed check"
This commit is contained in:
1 parent
b9510bcaa5
commit
d3852d4f6b
1 file changed
+2
-4
+2
-4
@@ -22,13 +22,11 @@ then
|
|||||||
echo -e "TLS_REQCERT\tnever" >> /etc/ldap/ldap.conf
|
echo -e "TLS_REQCERT\tnever" >> /etc/ldap/ldap.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if GLPI, but not only the plugins folder is present. This way it is possible to install plugins
|
#Téléchargement et extraction des sources de GLPI
|
||||||
# before GLPI is started which makes it easier to build custom Docker images based on diouxx/glpi.
|
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
|
||||||
if [ -d "${FOLDER_WEB}${FOLDER_GLPI}" ] && [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" != "plugins" ];
|
|
||||||
then
|
then
|
||||||
echo "GLPI is already installed"
|
echo "GLPI is already installed"
|
||||||
else
|
else
|
||||||
#Téléchargement et extraction des sources de GLPI
|
|
||||||
wget -P ${FOLDER_WEB} ${SRC_GLPI}
|
wget -P ${FOLDER_WEB} ${SRC_GLPI}
|
||||||
tar -xzf ${FOLDER_WEB}${TAR_GLPI} -C ${FOLDER_WEB}
|
tar -xzf ${FOLDER_WEB}${TAR_GLPI} -C ${FOLDER_WEB}
|
||||||
rm -Rf ${FOLDER_WEB}${TAR_GLPI}
|
rm -Rf ${FOLDER_WEB}${TAR_GLPI}
|
||||||
|
|||||||
Reference in new issue
Block a user