2021-06-07 15:39:12 +02:00
|
|
|
diff -Nru dpkg-1.20.9.orig/man/update-alternatives.pod dpkg-1.20.9/man/update-alternatives.pod
|
|
|
|
--- dpkg-1.20.9.orig/man/update-alternatives.pod 2021-01-30 07:09:02.000000000 +0100
|
|
|
|
+++ dpkg-1.20.9/man/update-alternatives.pod 2021-04-28 11:43:20.093959620 +0200
|
|
|
|
@@ -37,7 +37,7 @@
|
|
|
|
|
|
|
|
B<update-alternatives>
|
2012-09-07 08:53:00 +02:00
|
|
|
creates, removes, maintains and displays information about the symbolic
|
|
|
|
-links comprising the Debian alternatives system.
|
2014-05-12 15:58:33 +02:00
|
|
|
+links comprising the SUSE alternatives system.
|
2021-06-07 15:39:12 +02:00
|
|
|
|
2012-09-07 08:53:00 +02:00
|
|
|
It is possible for several programs fulfilling the same or similar
|
|
|
|
functions to be installed on a single system at the same time.
|
2021-06-07 15:39:12 +02:00
|
|
|
@@ -47,7 +47,7 @@
|
2012-09-07 08:53:00 +02:00
|
|
|
to make a good choice for an editor to invoke if the
|
|
|
|
user has not specified a particular preference.
|
2021-06-07 15:39:12 +02:00
|
|
|
|
2012-09-07 08:53:00 +02:00
|
|
|
-Debian's alternatives system aims to solve this problem.
|
2014-05-12 15:58:33 +02:00
|
|
|
+SUSE's alternatives system aims to solve this problem.
|
2012-09-07 08:53:00 +02:00
|
|
|
A generic name in the filesystem is
|
|
|
|
shared by all files providing interchangeable functionality.
|
|
|
|
The alternatives system and the system administrator
|
2021-06-07 15:39:12 +02:00
|
|
|
@@ -85,8 +85,8 @@
|
|
|
|
B<update-alternatives>
|
2012-09-07 08:53:00 +02:00
|
|
|
is called to update information about that file in the alternatives system.
|
2021-06-07 15:39:12 +02:00
|
|
|
B<update-alternatives>
|
|
|
|
-is usually called from the following Debian package maintainer scripts,
|
|
|
|
-B<postinst>
|
|
|
|
+is usually called from the following SUSE package maintainer scripts,
|
|
|
|
+B<post>
|
|
|
|
(configure) to install the alternative and from
|
|
|
|
B<prerm> and B<postrm>
|
|
|
|
(remove) to remove the alternative.
|
|
|
|
diff -Nru dpkg-1.20.9.orig/utils/Makefile.am dpkg-1.20.9/utils/Makefile.am
|
|
|
|
--- dpkg-1.20.9.orig/utils/Makefile.am 2021-01-30 07:09:02.000000000 +0100
|
|
|
|
+++ dpkg-1.20.9/utils/Makefile.am 2021-04-28 11:44:41.674722417 +0200
|
|
|
|
@@ -45,8 +45,8 @@
|
|
|
|
|
|
|
|
update_alternatives_CPPFLAGS = \
|
|
|
|
-DALT_TMP_EXT=\".dpkg-tmp\" \
|
|
|
|
- -DADMINDIR_ENVVAR=\"DPKG_ADMINDIR\" \
|
|
|
|
- -DINSTDIR_ENVVAR=\"DPKG_ROOT\" \
|
|
|
|
+ -DADMINDIR_ENVVAR=\"RPM_ADMINDIR\" \
|
|
|
|
+ -DINSTDIR_ENVVAR=\"RPM_ROOT\" \
|
|
|
|
$(AM_CPPFLAGS)
|
|
|
|
|
|
|
|
update_alternatives_LDADD = \
|
|
|
|
@@ -79,7 +79,7 @@
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(sysconfdir)/alternatives/README
|
|
|
|
|
|
|
|
-TEST_ENV_VARS = DPKG_DATADIR=$(top_srcdir)/data
|
|
|
|
+TEST_ENV_VARS = RPM_DATADIR=$(top_srcdir)/data
|
|
|
|
|
|
|
|
test_tmpdir = t.tmp
|
|
|
|
test_scripts = \
|
|
|
|
diff -Nru dpkg-1.20.9.orig/utils/update-alternatives.c dpkg-1.20.9/utils/update-alternatives.c
|
|
|
|
--- dpkg-1.20.9.orig/utils/update-alternatives.c 2021-03-02 03:15:25.000000000 +0100
|
|
|
|
+++ dpkg-1.20.9/utils/update-alternatives.c 2021-04-28 11:43:44.998192415 +0200
|
|
|
|
@@ -115,7 +115,7 @@
|
2012-09-07 08:53:00 +02:00
|
|
|
static void
|
|
|
|
version(void)
|
|
|
|
{
|
|
|
|
- printf(_("Debian %s version %s.\n"), PROGNAME, VERSION);
|
2014-05-12 15:58:33 +02:00
|
|
|
+ printf(_("SUSE %s version %s.\n"), PROGNAME, VERSION);
|
2012-09-07 08:53:00 +02:00
|
|
|
printf("\n");
|
|
|
|
|
|
|
|
printf(_(
|