]> git.saurik.com Git - apt.git/blobdiff - debian/rules
debian: Install etc/apt if present (e.g., on Ubuntu)
[apt.git] / debian / rules
index b6dfc96ea0a53950af558bd902fe2b6a89055d83..1ea0e872b011c5d24a9e3522dc050760866bfa58 100755 (executable)
@@ -19,7 +19,8 @@ override_dh_install-indep:
 
 override_dh_install-arch:
        dh_movefiles
-       dh_install --fail-missing
+       if [ -e debian/tmp/etc/apt ]; then dh_install -papt etc/apt/* etc/apt; fi
+       dh_install --list-missing
        install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove
        install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal