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