Source: acl
Followup-For: Bug #1060156

better patch attached
---
 debian/acl-udeb.install |  2 +-
 debian/acl.install      |  2 +-
 debian/acl.postinst     | 12 ------------
 debian/acl.postrm       | 12 ------------
 debian/rules            |  3 ---
 5 files changed, 2 insertions(+), 29 deletions(-)
 delete mode 100644 debian/acl.postinst
 delete mode 100644 debian/acl.postrm

diff --git a/debian/acl-udeb.install b/debian/acl-udeb.install
index e660fd9..c703cf8 100644
--- a/debian/acl-udeb.install
+++ b/debian/acl-udeb.install
@@ -1 +1 @@
-bin/
+usr/bin/
diff --git a/debian/acl.install b/debian/acl.install
index 519c581..3d70f27 100644
--- a/debian/acl.install
+++ b/debian/acl.install
@@ -1,4 +1,4 @@
-bin/
+usr/bin/
 usr/share/locale/
 usr/share/man/man1/
 usr/share/man/man5/
diff --git a/debian/acl.postinst b/debian/acl.postinst
deleted file mode 100644
index ea33a8d..0000000
--- a/debian/acl.postinst
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = 'configure' ]; then
-  for file in chacl getfacl setfacl; do
-    if [ ! -e /usr/bin/$file ]; then
-      ln -s /bin/$file /usr/bin/$file
-    fi
-  done
-fi
-
-#DEBHELPER#
diff --git a/debian/acl.postrm b/debian/acl.postrm
deleted file mode 100644
index 8ec03fc..0000000
--- a/debian/acl.postrm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = 'remove' ]; then
-  for file in chacl getfacl setfacl; do
-    if [ -L /usr/bin/$file ]; then
-      rm /usr/bin/$file
-    fi
-  done
-fi
-
-#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index 9f7759e..fb3c415 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,9 +18,6 @@ endif
 %:
        dh $@
 
-override_dh_auto_configure:
-       dh_auto_configure -- --bindir=/bin
-
 override_dh_auto_test:
 ifeq ($(TESTS_FLAKY),yes)
        @echo "Notice: Running tests in flaky mode, errors will be ignored."
-- 
2.43.0

Reply via email to