]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: trashman: debian-backports: set VERSION_NAME
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Dec 2025 19:56:38 +0000 (16:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Dec 2025 19:56:38 +0000 (16:56 -0300)
share/trashman/debian-backports/unix/linux/debian/check

index c308118866ec8144a1ec6f0e5462a99a70d824ff..76842496c29033f922766b92262fe8f1702dca4f 100755 (executable)
@@ -12,6 +12,7 @@ SHARE="$1"
 
 # Custom parameters
 BACKPORTS="/etc/apt/sources.list/backports.list"
+VERSION_NAME="`trashman_debian_major_version_name`"
 
 # Check if a backports definition is defined elsewhere
 if grep "${VERSION_NAME}-backports" /etc/apt/sources.list | grep -q -v '^#'; then