diff --git a/manifest.json b/manifest.json index cae2977..a433a38 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "0.20.1~ynh8", + "version": "0.20.1~ynh9", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/install b/scripts/install index 3159fc0..2379b16 100644 --- a/scripts/install +++ b/scripts/install @@ -46,8 +46,8 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= ynh_script_progression --message="Storing installation settings..." --weight=2 -ynh_app_setting_set --app=$app --key=domain --value=$domain -ynh_app_setting_set --app=$app --key=path --value=$path_url +ynh_app_setting_set --app=$app --key=domain --value=$domain +ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=language --value=$language #================================================= @@ -66,11 +66,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=9 -#ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 -#ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append - -#ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 - ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies tempdir="$(mktemp -d)" diff --git a/scripts/upgrade b/scripts/upgrade index 9720372..8f0117a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,13 +72,12 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=8 -#ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 -#ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append - -ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 - ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies +tempdir="$(mktemp -d)" +ynh_setup_source --dest_dir=$tempdir --source_id=crystal +ynh_exec_warn_less dpkg -i $tempdir/crystal_0.36.1-1_amd64.deb + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================