yt-dlp: manually add Priority to debian/control

This commit is contained in:
Luis Guzmán 2026-02-09 00:09:53 -06:00
parent 22b6fe46b3
commit 2723868c3d

View file

@ -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."