Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:C
dpkg
update-alternatives-suse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update-alternatives-suse.patch of Package dpkg
Index: dpkg-1.18.4/man/update-alternatives.1 =================================================================== --- dpkg-1.18.4.orig/man/update-alternatives.1 +++ dpkg-1.18.4/man/update-alternatives.1 @@ -33,7 +33,7 @@ update\-alternatives \- maintain symboli .SH DESCRIPTION .B update\-alternatives creates, removes, maintains and displays information about the symbolic -links comprising the Debian alternatives system. +links comprising the SUSE alternatives system. .PP It is possible for several programs fulfilling the same or similar functions to be installed on a single system at the same time. @@ -43,7 +43,7 @@ different editor, if desired, but makes to make a good choice for an editor to invoke if the user has not specified a particular preference. .PP -Debian's alternatives system aims to solve this problem. +SUSE's alternatives system aims to solve this problem. A generic name in the filesystem is shared by all files providing interchangeable functionality. The alternatives system and the system administrator @@ -82,10 +82,10 @@ installed, changed or removed, is called to update information about that file in the alternatives system. .B update\-alternatives is usually called from the -.B postinst +.B post (configure) or .B prerm -(remove and deconfigure) scripts in Debian packages. +(remove and deconfigure) scripts in SUSE packages. .PP It is often useful for a number of alternatives to be synchronized, so that they are changed as a group; for example, when several versions @@ -190,7 +190,7 @@ containing the symlinks. .TP administrative directory A directory, by default -.IR /var/lib/dpkg/alternatives , +.IR /var/lib/rpm/alternatives , containing .BR update\-alternatives ' state information. Index: dpkg-1.18.4/utils/update-alternatives.c =================================================================== --- dpkg-1.18.4.orig/utils/update-alternatives.c +++ dpkg-1.18.4/utils/update-alternatives.c @@ -63,7 +63,7 @@ static int opt_skip_auto = 0; static int opt_verbose = 0; static int opt_force = 0; -#define ALT_TMP_EXT ".dpkg-tmp" +#define ALT_TMP_EXT ".rpm-tmp" /* * Functions. @@ -72,7 +72,7 @@ static int opt_force = 0; static void version(void) { - printf(_("Debian %s version %s.\n"), PROGNAME, VERSION); + printf(_("SUSE %s version %s.\n"), PROGNAME, VERSION); printf("\n"); printf(_( @@ -354,7 +354,7 @@ admindir_init(void) { const char *basedir, *dpkg_basedir; - dpkg_basedir = getenv("DPKG_ADMINDIR"); + dpkg_basedir = getenv("RPM_ADMINDIR"); if (dpkg_basedir) basedir = dpkg_basedir; else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor