1
0
Fork 0
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:
Éric Gaspar 2021-07-19 11:19:23 +02:00 committed by GitHub
parent 47dc9c9dbf
commit 530ba44a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"