Commit 41702811 authored by Richard RANDRIATOAMANANA's avatar Richard RANDRIATOAMANANA 💬
Browse files

Update config.sh

parent d6758275
...@@ -8,10 +8,16 @@ APP_REPO="https://gitlab.univ-nantes.fr/liccia/marketplace/ubuntu-basic.git" ...@@ -8,10 +8,16 @@ APP_REPO="https://gitlab.univ-nantes.fr/liccia/marketplace/ubuntu-basic.git"
APP_DIR="/opt/liccia" APP_DIR="/opt/liccia"
APP_GIT="${APP_DIR}/git/${APP_NAME}" APP_GIT="${APP_DIR}/git/${APP_NAME}"
mkdir -p `dirname $APP_GIT` && chown ubuntu: `dirname $APP_DIR` && git clone ${APP_REPO} ${APP_GIT} && \ mkdir -p `dirname $APP_GIT` && chown ubuntu: `dirname $APP_DIR`
cd ${APP_GIT} && { if [[ -d "$APP_GIT" ]]; then
source profile_liccia.sh cd ${APP_GIT} && {
source profile_funcs.sh git reset --hard HEAD
liccia_log INFO "start configuration process" git pull
source install.sh }
} else
git clone $APP_REPO $APP_GIT && cd $APP_GIT
fi
source profile_liccia.sh
source profile_funcs.sh
liccia_log INFO "start configuration process"
source install.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment