From 70f51541303dcc839aac6f55acf72d80b54a8597 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 27 May 2024 23:40:44 +0200 Subject: [PATCH] helpers 2.1: remove ynh_get_debian_release, apps should just use $YNH_DEBIAN_VERSION --- helpers/helpers.v2.1.d/utils | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/helpers/helpers.v2.1.d/utils b/helpers/helpers.v2.1.d/utils index f82a7c265..706cb719c 100644 --- a/helpers/helpers.v2.1.d/utils +++ b/helpers/helpers.v2.1.d/utils @@ -775,18 +775,6 @@ ynh_render_template() { ).render(os.environ));' <$template_path >$output_path } -# Fetch the Debian release codename -# -# [packagingv1] -# -# usage: ynh_get_debian_release -# | ret: The Debian release codename (i.e. jessie, stretch, ...) -# -# Requires YunoHost version 2.7.12 or higher. -ynh_get_debian_release() { - echo $(lsb_release --codename --short) -} - _acceptable_path_to_delete() { local file=$1