diff --git a/helpers/make-yt-dlp b/helpers/make-yt-dlp index 30dbff9..5e02856 100644 --- a/helpers/make-yt-dlp +++ b/helpers/make-yt-dlp @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=3 +VERSION=4 EXTERNAL='deb-src http://deb.debian.org/debian sid main' REPOKEY=6ED0E7B82643E131 BACKPORTS=true @@ -32,6 +32,8 @@ sed -i "/Currently supported/s|are:|are at:|" debian/control [ "$SUPPORTED_SITES" != "$(tail -n2 debian/control|awk NF|sed 's|^ ||')" ] && \ echo -e ">>>Site replacement needs fixing, exiting...<<<\n" && exit +! grep -q "Priority:" debian/control && sed -i '/Section:/a Priority: optional' debian/control + apply_patch_changes changelog "Remove explicit site listing, redirecting to website author."