From f836caf7c119f58f2c213a24ce7e6243f363bfde Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Fri, 14 Dec 2001 06:13:10 +0000 Subject: - better kdmrc config file handling: * install kdmrc.dist and copy to kdmrc if it doesn't already exist. don't clobber user's custom kdmrc settings. * always install the scripts, even if the config directory exists * always generate the scripts (add --no-old) - remove rcsid from patch so it applies cleanly - bump PORTREVISION PR: 32537, 32660 Submitted by: Alan Eldridge --- .../files/patch-kdm::kfrontend::genkdmconf.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c') diff --git a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c index 84fdeaf99ba2..6aeac3d4433e 100644 --- a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c +++ b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c @@ -1,5 +1,5 @@ ---- kdm/kfrontend/genkdmconf.c.orig Wed Sep 5 08:15:47 2001 -+++ kdm/kfrontend/genkdmconf.c Tue Oct 23 04:04:22 2001 +--- kdm/kfrontend/genkdmconf.c.orig Mon Nov 5 21:40:03 2001 ++++ kdm/kfrontend/genkdmconf.c Sun Dec 9 22:42:26 2001 @@ -212,7 +212,7 @@ */ @@ -27,3 +27,12 @@ "-x " KDMCONF "/Xservers " #endif "$USER\n" +@@ -1781,7 +1781,7 @@ + } + addKdePath ("UserPath", DEF_USER_PATH); + addKdePath ("SystemPath", DEF_SYSTEM_PATH); +- ASPrintf (&newkdmrc, "%s/kdmrc", newdir); ++ ASPrintf (&newkdmrc, "%s/kdmrc.dist", newdir); + f = Create (newkdmrc, kdmrcmode); + wrconf (f); + fclose (f); -- cgit v1.2.3