Explorar o código

Replace logrotate installation logic with dh_installlogrotate.

Guillem Jover %!s(int64=20) %!d(string=hai) anos
pai
achega
d068d95862
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      debian/changelog
  2. 2 2
      debian/rules

+ 1 - 0
debian/changelog

@@ -77,6 +77,7 @@ dpkg (1.13.20~) UNRELEASED; urgency=low
     Closes: #54529, #58106, #81171, #230610, #237622, #237626
   * Bump Standards-Version to 3.7.2 (no changes needed).
   * Add lintian overrides for dpkg, dpkg-dev, dselect and sources.
+  * Replace logrotate installation logic with dh_installlogrotate.
 
   [ Updated dpkg Translations ]
   * Portuguese (Miguel Figueiredo).

+ 2 - 2
debian/rules

@@ -77,8 +77,8 @@ binary-arch: install
 	dh_testdir -a
 	dh_testroot -a
 	dh_install --sourcedir=debian/tmp -a
-	install -d debian/dpkg/etc/logrotate.d
-	install -m 644 debian/dpkg.logrotate debian/dpkg/etc/logrotate.d/dpkg
+	dh_installlogrotate -a
+
 	install -d debian/dpkg/sbin
 	mv debian/dpkg/usr/sbin/start-stop-daemon debian/dpkg/sbin