]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1049: This commit was manufactured by cvs2svn to create tag version_3.0.46
authorunknown <unknown>
Mon, 28 Jul 2003 18:47:17 +0000 (18:47 +0000)
committerunknown <unknown>
Mon, 28 Jul 2003 18:47:17 +0000 (18:47 +0000)
'debian_version_3_0_46'.

26 files changed:
autoscripts/postinst-doc-base [deleted file]
autoscripts/postinst-emacsen [deleted file]
autoscripts/postinst-info [deleted file]
autoscripts/postinst-info-nosection [deleted file]
autoscripts/postinst-init [deleted file]
autoscripts/postinst-makeshlibs [deleted file]
autoscripts/postinst-menu [deleted file]
autoscripts/postinst-mime [deleted file]
autoscripts/postinst-modules [deleted file]
autoscripts/postinst-suid [deleted file]
autoscripts/postinst-wm [deleted file]
autoscripts/postinst-xfonts [deleted file]
autoscripts/postrm-debconf [deleted file]
autoscripts/postrm-makeshlibs [deleted file]
autoscripts/postrm-menu [deleted file]
autoscripts/postrm-menu-method [deleted file]
autoscripts/postrm-mime [deleted file]
autoscripts/postrm-modules [deleted file]
autoscripts/postrm-suid [deleted file]
autoscripts/postrm-xfonts [deleted file]
autoscripts/prerm-doc-base [deleted file]
autoscripts/prerm-emacsen [deleted file]
autoscripts/prerm-init [deleted file]
autoscripts/prerm-init-norestart [deleted file]
autoscripts/prerm-wm [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-info b/autoscripts/postinst-info
deleted file mode 100644 (file)
index 71ffa19..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ]; then
-       install-info --quiet --section "#SECTION#" "#SECTION#" #FILE#
-fi
diff --git a/autoscripts/postinst-info-nosection b/autoscripts/postinst-info-nosection
deleted file mode 100644 (file)
index ffef863..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ]; then
-       install-info --quiet #FILE#
-fi
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
deleted file mode 100644 (file)
index b5bd7a5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x "/etc/init.d/#SCRIPT#" ]; then
-       update-rc.d #SCRIPT# #INITPARMS# >/dev/null
-       if [ -x /usr/sbin/invoke-rc.d ]; then
-               invoke-rc.d #SCRIPT# start
-       else
-               /etc/init.d/#SCRIPT# start
-       fi
-fi
diff --git a/autoscripts/postinst-makeshlibs b/autoscripts/postinst-makeshlibs
deleted file mode 100644 (file)
index 8a25b9e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ]; then
-       ldconfig
-fi
diff --git a/autoscripts/postinst-menu b/autoscripts/postinst-menu
deleted file mode 100644 (file)
index 276a3c0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
diff --git a/autoscripts/postinst-mime b/autoscripts/postinst-mime
deleted file mode 100644 (file)
index bef63cc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-if [ "$1" = "configure" ] && [ -x /usr/sbin/update-mime ]; then update-mime; fi
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
deleted file mode 100644 (file)
index babf39b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
-       update-modules >/dev/null
-fi
diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid
deleted file mode 100644 (file)
index d0d16c0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ "$1" = "configure" ]; then
-       if which suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
-               suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS#
-       elif [ -e /#FILE# ]; then
-               chown #OWNER#.#GROUP# /#FILE#
-               chmod #PERMS# /#FILE#
-       fi
-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-makeshlibs b/autoscripts/postrm-makeshlibs
deleted file mode 100644 (file)
index 96bf24e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "remove" ]; then
-       ldconfig
-fi
diff --git a/autoscripts/postrm-menu b/autoscripts/postrm-menu
deleted file mode 100644 (file)
index a180558..0000000
+++ /dev/null
@@ -1 +0,0 @@
-if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
diff --git a/autoscripts/postrm-menu-method b/autoscripts/postrm-menu-method
deleted file mode 100644 (file)
index ffa1e48..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-inst=/etc/menu-methods/#PACKAGE#
-if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi
-if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
diff --git a/autoscripts/postrm-mime b/autoscripts/postrm-mime
deleted file mode 100644 (file)
index a940411..0000000
+++ /dev/null
@@ -1 +0,0 @@
-if which update-mime >/dev/null 2>&1; then update-mime; fi
diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules
deleted file mode 100644 (file)
index f2d4cb7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /sbin/update-modules ]; then
-       update-modules >/dev/null
-fi
diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid
deleted file mode 100644 (file)
index a4cfecf..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ "$1" = remove ] && [ -e /etc/suid.conf ] && \
-   which suidunregister >/dev/null 2>&1; then
-        suidunregister -s #PACKAGE# /#FILE#
-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
diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init
deleted file mode 100644 (file)
index eab98c7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-if [ -x "/etc/init.d/#SCRIPT#" ]; then
-       if [ -x /usr/sbin/invoke-rc.d ] ; then
-               invoke-rc.d #SCRIPT# stop
-       else
-               /etc/init.d/#SCRIPT# stop
-       fi
-fi
diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart
deleted file mode 100644 (file)
index fb99152..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then
-       if [ -x /usr/sbin/invoke-rc.d ] ; then
-               invoke-rc.d #SCRIPT# stop
-       else
-               /etc/init.d/#SCRIPT# stop
-       fi
-fi
diff --git a/autoscripts/prerm-wm b/autoscripts/prerm-wm
deleted file mode 100644 (file)
index b97d627..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "remove" ]; then
-       update-alternatives --remove x-window-manager #WM#
-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"));