mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Update scripts/upgrade
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
26bd8b3458
commit
d049044604
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then
|
if git -C "$final_path" rev-parse --is-inside-work-tree` >/dev/null 2>/dev/null
|
||||||
|
then
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
git fetch
|
git fetch
|
||||||
git checkout tags/$version
|
git checkout tags/$version
|
||||||
|
|
Loading…
Add table
Reference in a new issue