diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-06 21:05:29 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-06 21:05:29 +0000 |
commit | 76965980d68b73a826d2dbdb554e8b00f5d06531 (patch) | |
tree | 5df47d827ff12e0d74a07f99069c4dd8f92e2072 /archivers/dpkg/files/patch-scripts_update-alternatives.pl | |
parent | efb578bb649096db0b6f89f8e357faa300602750 (diff) |
Notes
Diffstat (limited to 'archivers/dpkg/files/patch-scripts_update-alternatives.pl')
-rw-r--r-- | archivers/dpkg/files/patch-scripts_update-alternatives.pl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/archivers/dpkg/files/patch-scripts_update-alternatives.pl b/archivers/dpkg/files/patch-scripts_update-alternatives.pl new file mode 100644 index 000000000000..6a216f994511 --- /dev/null +++ b/archivers/dpkg/files/patch-scripts_update-alternatives.pl @@ -0,0 +1,28 @@ +--- scripts/update-alternatives.pl.orig Tue Jun 20 19:36:39 2006 ++++ scripts/update-alternatives.pl Fri Nov 10 13:57:31 2006 +@@ -2,6 +2,7 @@ + + $admindir= "/var/lib/dpkg"; # This line modified by Makefile + $dpkglibdir= "../utils"; # This line modified by Makefile ++$sysconfdir="/etc"; # This line modified by Makefile + $version= '0.93.80'; # This line modified by Makefile + push (@INC, $dpkglibdir); + require 'dpkg-gettext.pl'; +@@ -64,7 +65,7 @@ + --set <name> <path> set <path> as alternative for <name>. + --all call --config on all alternatives. + +-<link> is the symlink pointing to /etc/alternatives/<name>. ++<link> is the symlink pointing to $sysconfdir/alternatives/<name>. + (e.g. /usr/bin/pager) + <name> is the master name for this link group. + (e.g. pager) +@@ -97,7 +98,7 @@ + exit(2); + } + +-$altdir= '/etc/alternatives'; ++$altdir= $sysconfdir . '/alternatives'; + $admindir= $admindir . '/alternatives'; + $testmode= 0; + $verbosemode= 0; |