This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=669b7c375dda410e0a043cf1a6ef93a92625e087

commit 669b7c375dda410e0a043cf1a6ef93a92625e087
Author: RaphaĆ«l Hertzog <[email protected]>
AuthorDate: Mon May 17 21:13:49 2010 +0200

    Adjust tests to use the new name of maintscript-helper
---
 t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst | 4 ++--
 t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postrm   | 4 ++--
 t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/preinst  | 4 ++--
 t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst     | 4 ++--
 t-conffile-rename/pkg-conff-rename-1/DEBIAN/postrm       | 4 ++--
 t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst      | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst 
b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
index f95d0b4d3..c6b0782d4 100755
--- a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
+++ b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
@@ -1,4 +1,4 @@
 #!/bin/sh
-if [ -x $DPKG_LIB/maintscript-helper ]; then
-    $DPKG_LIB/maintscript-helper rm_conffile /test-conffile 0 -- "$@"
+if dpkg-maintscript-helper supports rm_conffile; then
+    dpkg-maintscript-helper rm_conffile /test-conffile 0 -- "$@"
 fi
diff --git a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postrm 
b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postrm
index f95d0b4d3..c6b0782d4 100755
--- a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postrm
+++ b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postrm
@@ -1,4 +1,4 @@
 #!/bin/sh
-if [ -x $DPKG_LIB/maintscript-helper ]; then
-    $DPKG_LIB/maintscript-helper rm_conffile /test-conffile 0 -- "$@"
+if dpkg-maintscript-helper supports rm_conffile; then
+    dpkg-maintscript-helper rm_conffile /test-conffile 0 -- "$@"
 fi
diff --git a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/preinst 
b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/preinst
index bf542fe75..de6b54ac4 100755
--- a/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/preinst
+++ b/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/preinst
@@ -1,6 +1,6 @@
 #!/bin/sh
-if [ -x $DPKG_LIB/maintscript-helper ]; then
-    $DPKG_LIB/maintscript-helper rm_conffile /test-conffile 0 -- "$@"
+if dpkg-maintscript-helper supports rm_conffile; then
+    dpkg-maintscript-helper rm_conffile /test-conffile 0 -- "$@"
 fi
 
 if [ -e /fail-preinst ]; then
diff --git a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst 
b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
index 56992dbdb..89c1f0bc1 100755
--- a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
+++ b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
@@ -1,4 +1,4 @@
 #!/bin/sh
-if [ -x $DPKG_LIBDIR/maintscript-helper ]; then
-    $DPKG_LIBDIR/maintscript-helper mv_conffile /test-conffile-old 
/test-conffile-new 0 -- "$@"
+if dpkg-maintscript-helper supports mv_conffile; then
+    dpkg-maintscript-helper mv_conffile /test-conffile-old /test-conffile-new 
0 -- "$@"
 fi
diff --git a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postrm 
b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postrm
index 56992dbdb..89c1f0bc1 100755
--- a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postrm
+++ b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postrm
@@ -1,4 +1,4 @@
 #!/bin/sh
-if [ -x $DPKG_LIBDIR/maintscript-helper ]; then
-    $DPKG_LIBDIR/maintscript-helper mv_conffile /test-conffile-old 
/test-conffile-new 0 -- "$@"
+if dpkg-maintscript-helper supports mv_conffile; then
+    dpkg-maintscript-helper mv_conffile /test-conffile-old /test-conffile-new 
0 -- "$@"
 fi
diff --git a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst 
b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst
index 5b3d8e0f8..534210d5c 100755
--- a/t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst
+++ b/t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst
@@ -1,6 +1,6 @@
 #!/bin/sh
-if [ -x $DPKG_LIBDIR/maintscript-helper ]; then
-    $DPKG_LIBDIR/maintscript-helper mv_conffile /test-conffile-old 
/test-conffile-new 0 -- "$@"
+if dpkg-maintscript-helper supports mv_conffile; then
+    dpkg-maintscript-helper mv_conffile /test-conffile-old /test-conffile-new 
0 -- "$@"
 fi
 
 if [ -e /fail-preinst ]; then

-- 
Dpkg.Org's dpkg

Reply via email to