diff -Nru arptables-0.0.5/debian/arptables.postinst arptables-0.0.5/debian/arptables.postinst --- arptables-0.0.5/debian/arptables.postinst 2020-05-15 10:14:42.000000000 +0000 +++ arptables-0.0.5/debian/arptables.postinst 2022-04-06 08:30:56.000000000 +0000 @@ -5,14 +5,14 @@ set -e -# compat symlinks for /sbin -> /usr/sbin move, to be dropped in buster+1 +# Clean-up the old compat symlinks for /sbin -> /usr/sbin if [ "$1" = "configure" ]; then LIST="arptables arptables-save arptables-restore" for i in $LIST; do - if [ ! -e "/sbin/$i" ]; then - ln -sf /usr/sbin/$i /sbin/$i + if [ -e "/sbin/$i" ] && [ $(readlink /sbin/$i) = /usr/sbin/$i ] ; then + rm /sbin/$i fi done fi diff -Nru arptables-0.0.5/debian/changelog arptables-0.0.5/debian/changelog --- arptables-0.0.5/debian/changelog 2020-06-09 15:47:38.000000000 +0000 +++ arptables-0.0.5/debian/changelog 2022-04-06 08:31:00.000000000 +0000 @@ -1,3 +1,11 @@ +arptables (0.0.5-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Do not install /sbin/* compat symlink, cleans them if they are still + present (Closes: #1007829). + + -- Thomas Goirand Wed, 06 Apr 2022 10:31:00 +0200 + arptables (0.0.5-3) unstable; urgency=medium * [9e68e1c] d/tests/control: add isolation-machine restriction to tests