mirror of
https://github.com/YunoHost-Apps/laverna_ynh.git
synced 2024-09-03 19:36:06 +02:00
cleaning
This commit is contained in:
parent
523c888bf3
commit
67fa733294
2 changed files with 4 additions and 14 deletions
|
@ -5,7 +5,7 @@ name = "Laverna"
|
|||
description.en = "Taking note with Markdown editor and encryption support"
|
||||
description.fr = "Prise de note avec éditeur Markdown et chiffrement"
|
||||
|
||||
version = "0.7.51~ynh6"
|
||||
version = "0.7.51~ynh7"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
|
|
@ -8,23 +8,13 @@
|
|||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=4
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
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
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue