[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.4.3-264-gae154f9



The following commit has been merged in the master branch:
commit ae154f93334997d29700e4bb2792a2caca6574f7
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Feb 20 14:05:48 2011 -0600

    Fix debhelper-script-token-unneeded test
    
    Now dh_installdeb may modify maintainer scripts too, which will cause
    Lintian to emit the warning in most packages. However, we continue to
    emit it conditionally, so test that condition.

diff --git a/t/tests/debhelper-script-token-unneeded/debian/debian/rules b/t/tests/debhelper-script-token-unneeded/debian/debian/rules
index bbd9fb3..6a1c2cc 100755
--- a/t/tests/debhelper-script-token-unneeded/debian/debian/rules
+++ b/t/tests/debhelper-script-token-unneeded/debian/debian/rules
@@ -26,7 +26,9 @@ binary-indep:
 	dh_link
 	dh_compress
 	dh_fixperms
-	dh_installdeb
+	# dh_installdeb needs #DEBHELPER# token too
+	mkdir -p debian/$(pkg)/DEBIAN
+	install -m 755 debian/postinst debian/$(pkg)/DEBIAN
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb

-- 
Debian package checker


Reply to: