]> git.donarmstrong.com Git - debhelper.git/commitdiff
r626: This commit was manufactured by cvs2svn to create tag version_2.0.99
authorunknown <unknown>
Mon, 28 Jul 2003 18:43:19 +0000 (18:43 +0000)
committerunknown <unknown>
Mon, 28 Jul 2003 18:43:19 +0000 (18:43 +0000)
'debian_version_2_0_99'.

autoscripts/postinst-doc-base [deleted file]
autoscripts/postinst-emacsen [deleted file]
autoscripts/postinst-wm [deleted file]
autoscripts/postinst-xfonts [deleted file]
autoscripts/postrm-debconf [deleted file]
autoscripts/postrm-xfonts [deleted file]
autoscripts/prerm-doc-base [deleted file]
autoscripts/prerm-emacsen [deleted file]
t/dh_link

diff --git a/autoscripts/postinst-doc-base b/autoscripts/postinst-doc-base
deleted file mode 100644 (file)
index 3926572..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
-       install-docs -i /usr/share/doc-base/#DOC-ID#
-fi
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen
deleted file mode 100644 (file)
index f80e1db..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
-then
-       /usr/lib/emacsen-common/emacs-package-install #PACKAGE#
-fi
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
deleted file mode 100644 (file)
index aef412a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ "$1" = "configure" ]; then
-       update-alternatives --install /usr/bin/x-window-manager \
-               x-window-manager #WM# #PRIORITY#
-fi
diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts
deleted file mode 100644 (file)
index 96390e4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if which update-fonts-dir >/dev/null 2>&1; then
-       #CMDS#
-fi
diff --git a/autoscripts/postrm-debconf b/autoscripts/postrm-debconf
deleted file mode 100644 (file)
index 5a61724..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
-       . /usr/share/debconf/confmodule
-       db_purge
-fi
diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts
deleted file mode 100644 (file)
index a4d0a08..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" != "upgrade" ] && [ -x /usr/sbin/update-fonts-dir ]; then
-#CMDS#
-fi
diff --git a/autoscripts/prerm-doc-base b/autoscripts/prerm-doc-base
deleted file mode 100644 (file)
index c57d999..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ "$1" = remove ] || [ "$1" = upgrade ] && \
-   which install-docs >/dev/null 2>&1; then
-       install-docs -r #DOC-ID#
-fi
diff --git a/autoscripts/prerm-emacsen b/autoscripts/prerm-emacsen
deleted file mode 100644 (file)
index 8c3ca64..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then
-       /usr/lib/emacsen-common/emacs-package-remove #PACKAGE#
-fi
index 9f644e78e4def6066139878ce86885bc44949014..1e2105581c938d5c4b8dad6229a496aeb30d53d3 100644 (file)
--- a/t/dh_link
+++ b/t/dh_link
@@ -1,16 +1,20 @@
 #!/usr/bin/perl
 use Test;
-plan(tests => 3);
+plan(tests => 4);
 
 # It used to not make absolute links in this situation, and it should.
 # #37774
 system("./dh_link","etc/foo","usr/lib/bar");
-ok("/etc/foo",readlink("debian/tmp/usr/lib/bar"));
+ok("/etc/foo",readlink("debian/debhelper/usr/lib/bar"));
 
 # let's make sure it makes simple relative links ok.
 system("./dh_link","usr/bin/foo","usr/bin/bar");
-ok("foo",readlink("debian/tmp/usr/bin/bar"));
+ok("foo",readlink("debian/debhelper/usr/bin/bar"));
 
 # ok, more complex relative links.
 system("./dh_link","usr/lib/1","usr/bin/2");
-ok("../lib/1",readlink("debian/tmp/usr/bin/2"));
+ok("../lib/1",readlink("debian/debhelper/usr/bin/2"));
+
+# this was bug #40159. Absolute links passes to dh_link.
+system("./dh_link","/etc/X11/dfm/system.dfmext","usr/share/dfm/dfmext");
+ok("/etc/X11/dfm/system.dfmext",readlink("debian/debhelper/usr/share/dfm/dfmext"));