mirror of
https://github.com/YunoHost-Apps/snweb_ynh.git
synced 2024-09-03 20:26:22 +02:00
upgrade
This commit is contained in:
parent
5b4ecfa3b7
commit
26416a05c0
3 changed files with 6 additions and 15 deletions
|
@ -3,7 +3,8 @@
|
||||||
"id": "snweb",
|
"id": "snweb",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android."
|
"en": "End-to-end encrypted note-taking app",
|
||||||
|
"en": "Application de prise de notes chiffrée"
|
||||||
},
|
},
|
||||||
"version": "3.8.25~ynh2",
|
"version": "3.8.25~ynh2",
|
||||||
"url": "https://github.com/standardnotes/web",
|
"url": "https://github.com/standardnotes/web",
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
"email": "46000361+FabianWilkens@users.noreply.github.com"
|
"email": "46000361+FabianWilkens@users.noreply.github.com"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3"
|
"yunohost": ">= 4.3.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
@ -39,7 +40,7 @@
|
||||||
"example": "/notes",
|
"example": "/notes",
|
||||||
"default": "/",
|
"default": "/",
|
||||||
"help": {
|
"help": {
|
||||||
"en": "You can use extensions only without a path url."
|
"en": "You can use extensions only without a path URL."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,10 +14,10 @@ pkg_dependencies="\
|
||||||
"
|
"
|
||||||
|
|
||||||
RUBY_VERSION="2.7.3"
|
RUBY_VERSION="2.7.3"
|
||||||
NODEJS_VERSION="15.11.0"
|
NODEJS_VERSION="16"
|
||||||
|
|
||||||
SOURCE="https://github.com/standardnotes/web"
|
SOURCE="https://github.com/standardnotes/web"
|
||||||
COMMIT="e856ce7bfd3a7b357544e43ca343b1ec861debb3"
|
COMMIT="90fcac61e0ed58e875648951fd4c257cd77a4165"
|
||||||
|
|
||||||
node_max_old_space_size=2048
|
node_max_old_space_size=2048
|
||||||
|
|
||||||
|
|
|
@ -76,16 +76,6 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight=
|
||||||
# Remove the app-specific logrotate config
|
# Remove the app-specific logrotate config
|
||||||
ynh_remove_logrotate
|
ynh_remove_logrotate
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CLOSE A PORT
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
if yunohost firewall list | grep -q "\- $port$"
|
|
||||||
then
|
|
||||||
ynh_script_progression --message="Closing port $port..." --weight=1
|
|
||||||
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC REMOVE
|
# SPECIFIC REMOVE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue