From 4758ff1b75e4a69d52e598c8ef5d9f37039fc6fc Mon Sep 17 00:00:00 2001 From: MichaIng <28480705+MichaIng@users.noreply.github.com> Date: Sun, 4 Aug 2019 20:49:15 +0200 Subject: [PATCH] v6.26 + DietPi-Pre-patch | Sonarr: Update APT repository key to new long version --- dietpi/pre-patch_file | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dietpi/pre-patch_file b/dietpi/pre-patch_file index 71ff8a5430..650e2b6794 100644 --- a/dietpi/pre-patch_file +++ b/dietpi/pre-patch_file @@ -147,6 +147,14 @@ Pin: release n=stretch-backports Pin-Priority: 500 _EOF_ + fi + #------------------------------------------------------------------------------- + # Pre-patch 11: https://github.com/MichaIng/DietPi/issues/3029 + if (( $G_DIETPI_VERSION_SUB < 26 )) && [[ -f '/etc/apt/sources.list.d/sonarr.list' ]]; then + + echo -e '\e[90m[\e[0m INFO \e[90m]\e[0m Pre-patch 11 | Updating Sonarr APT repository key' + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493 || { EXIT_CODE=11; break; } + fi #------------------------------------------------------------------------------- # Finished