1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/laverna_ynh.git synced 2024-09-03 19:36:06 +02:00
This commit is contained in:
Éric Gaspar 2024-06-06 10:06:30 +02:00
parent 523c888bf3
commit 67fa733294
2 changed files with 4 additions and 14 deletions

View file

@ -5,7 +5,7 @@ name = "Laverna"
description.en = "Taking note with Markdown editor and encryption support" description.en = "Taking note with Markdown editor and encryption support"
description.fr = "Prise de note avec éditeur Markdown et chiffrement" description.fr = "Prise de note avec éditeur Markdown et chiffrement"
version = "0.7.51~ynh6" version = "0.7.51~ynh7"
maintainers = [] maintainers = []

View file

@ -8,23 +8,13 @@
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Upgrading source files..." --weight=4
if [ "$upgrade_type" == "UPGRADE_APP" ] # Download, check integrity, uncompress and patch the source from app.src
then ynh_setup_source --dest_dir="$install_dir"
ynh_script_progression --message="Upgrading source files..." --weight=4
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"