diff --git a/scripts/install b/scripts/install index 4411014..f81da56 100755 --- a/scripts/install +++ b/scripts/install @@ -68,7 +68,8 @@ ynh_system_user_create --username=$app --home_dir="$final_path" ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path -ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" +ynh_setup_source --dest_dir="$final_path" --source_id="loki-$YNH_ARCH" +ynh_setup_source --dest_dir="$final_path" --source_id="promtail-$YNH_ARCH" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 24abff5..ca38edf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,7 +67,8 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" + ynh_setup_source --dest_dir="$final_path" --source_id="loki-$YNH_ARCH" + ynh_setup_source --dest_dir="$final_path" --source_id="promtail-$YNH_ARCH" fi chmod 750 "$final_path"