1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
Éric Gaspar 2023-03-10 12:00:25 +01:00
parent 1e07d07903
commit a221f39cbc
2 changed files with 2 additions and 5 deletions

View file

@ -50,10 +50,7 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.app]
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
# ynh_setup_source --dest_dir="$install_dir"
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
url = "https://releases.rocket.chat/6.0.0/download" url = "https://releases.rocket.chat/6.0.0/download"
sha256 = "c2c60f66f345626c04af6c172202ff3e423884e2ca54d2d9553506bec816b1e0" sha256 = "c2c60f66f345626c04af6c172202ff3e423884e2ca54d2d9553506bec816b1e0"

View file

@ -48,7 +48,7 @@ ynh_mongo_setup_db --db_user=$db_user --db_name=$db_name
ynh_script_progression --message="Setting up source files..." --weight=10 ynh_script_progression --message="Setting up source files..." --weight=10
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir" --source_id="app"
mkdir "/tmp/ufs" mkdir "/tmp/ufs"