mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Update scripts/upgrade
Co-authored-by: Roman Kupriyanov <mr.eshua@gmail.com>
This commit is contained in:
parent
47dc9c9dbf
commit
530ba44a86
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
|
|
||||||
# Check if the repo can be updated with git
|
# Check if the repo can be updated with git
|
||||||
if [ `cd $final_path && git rev-parse --is-inside-work-tree` ];
|
if [ `cd $final_path && git rev-parse --is-inside-work-tree &> /dev/null` ];
|
||||||
then
|
then
|
||||||
# Update through Git
|
# Update through Git
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
|
|
Loading…
Reference in a new issue