summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2012-11-03 00:39:19 +0100
committerMichael Vogt <mvo@debian.org>2013-07-11 07:17:48 +0200
commita86f851619f720b8c4a74d01274c5e2bf012d451 (patch)
tree329c779a7261da6fb40ab3132f5bae711922552e /debian/rules
parent9c5104cf35c6bca91247a8a31c1748be80ab7d68 (diff)
cherry pick 39a07ec8f2c612a5af234c7713571362f7ca90b4
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 02fed44d5..3979bd810 100755
--- a/debian/rules
+++ b/debian/rules
@@ -183,6 +183,8 @@ apt: build build-manpages
# apt install
#
cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
+ cp debian/apt.auto-removal.sh debian/$@/etc/kernel/postinst.d/apt-auto-removal
+ chmod 755 debian/$@/etc/kernel/postinst.d/apt-auto-removal
# make rosetta happy and remove pot files in po/ (but leave stuff
# in po/domains/* untouched) and cp *.po into each domain dir