1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chatgpt-web_ynh.git synced 2024-09-03 18:16:21 +02:00

Merge pull request #99 from YunoHost-Apps/testing

Automated testing -> master
This commit is contained in:
Salamandar 2024-06-23 20:41:43 +02:00 committed by GitHub
commit e5a5f81a9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,14 +16,10 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=1
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep = ".env"
fi
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep = ".env"
chown -R $app:www-data "$install_dir"