mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
commit
27934bcf7b
2 changed files with 8 additions and 19 deletions
|
@ -5,9 +5,9 @@ name = "Noalyss"
|
||||||
description.en = "Accounting free software (Belgian and French accounting)"
|
description.en = "Accounting free software (Belgian and French accounting)"
|
||||||
description.fr = "Logiciel libre de comptabilité (comptabilité Belge et Française)"
|
description.fr = "Logiciel libre de comptabilité (comptabilité Belge et Française)"
|
||||||
|
|
||||||
version = "9.1.0.7~ynh2"
|
version = "9.2.0.0~ynh1"
|
||||||
|
|
||||||
maintainers = ["datatierce"]
|
maintainers = []
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
|
@ -44,12 +44,11 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[install.init_main_permission]
|
[install.init_main_permission]
|
||||||
type = "group"
|
type = "group"
|
||||||
default = false
|
default = "visitors"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://download.noalyss.eu/noalyss-package/version-91/noalyss-9107.tar.gz"
|
url = "https://download.noalyss.eu/noalyss-package/version-92/noalyss-9200.tar.gz"
|
||||||
sha256 = "566f013e1be63326c1c557128145f5c8b9694c0e66bf66a2015e9f7eeeec2b4c"
|
sha256 = "59c6117ccb7ec0fa5f88ed72c7cd98bbe52f54062c247906006d95c9ec769ef7"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
|
|
|
@ -9,23 +9,13 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
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=5
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
then
|
ynh_setup_source --dest_dir=$install_dir --keep="include/config.inc.php"
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
|
||||||
ynh_setup_source --dest_dir=$install_dir --keep="include/config.inc.php"
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue