Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LICCiA
GitOps Apps and Playbooks
Ubuntu Basic
Commits
41702811
Commit
41702811
authored
Dec 14, 2021
by
Richard RANDRIATOAMANANA
💬
Browse files
Update config.sh
parent
d6758275
Changes
1
Hide whitespace changes
Inline
Side-by-side
config.sh
View file @
41702811
...
...
@@ -8,10 +8,16 @@ APP_REPO="https://gitlab.univ-nantes.fr/liccia/marketplace/ubuntu-basic.git"
APP_DIR
=
"/opt/liccia"
APP_GIT
=
"
${
APP_DIR
}
/git/
${
APP_NAME
}
"
mkdir
-p
`
dirname
$APP_GIT
`
&&
chown
ubuntu:
`
dirname
$APP_DIR
`
&&
git clone
${
APP_REPO
}
${
APP_GIT
}
&&
\
cd
${
APP_GIT
}
&&
{
source
profile_liccia.sh
source
profile_funcs.sh
liccia_log INFO
"start configuration process"
source
install.sh
}
mkdir
-p
`
dirname
$APP_GIT
`
&&
chown
ubuntu:
`
dirname
$APP_DIR
`
if
[[
-d
"
$APP_GIT
"
]]
;
then
cd
${
APP_GIT
}
&&
{
git reset
--hard
HEAD
git pull
}
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment