diff --git a/manifest.toml b/manifest.toml index 6ea79e1..edec1b9 100644 --- a/manifest.toml +++ b/manifest.toml @@ -50,10 +50,7 @@ ram.runtime = "50M" [resources] [resources.sources] - [resources.sources.main] - # 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 + [resources.sources.app] url = "https://releases.rocket.chat/6.0.0/download" sha256 = "c2c60f66f345626c04af6c172202ff3e423884e2ca54d2d9553506bec816b1e0" diff --git a/scripts/install b/scripts/install index 6644b6b..f34a781 100644 --- a/scripts/install +++ b/scripts/install @@ -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 # 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"