diff options
Diffstat (limited to 'dev-util/catalyst/files/catalyst-2.0_pre20051122-slot.patch')
-rw-r--r-- | dev-util/catalyst/files/catalyst-2.0_pre20051122-slot.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/catalyst/files/catalyst-2.0_pre20051122-slot.patch b/dev-util/catalyst/files/catalyst-2.0_pre20051122-slot.patch new file mode 100644 index 000000000000..f3f6b5706ceb --- /dev/null +++ b/dev-util/catalyst/files/catalyst-2.0_pre20051122-slot.patch @@ -0,0 +1,30 @@ +diff -urN catalyst-2.0_pre20051122.orig/catalyst catalyst-2.0_pre20051122/catalyst +--- catalyst-2.0_pre20051122.orig/catalyst 2005-10-17 16:07:14.000000000 -0400 ++++ catalyst-2.0_pre20051122/catalyst 2005-10-17 16:06:23.000000000 -0400 +@@ -50,10 +50,10 @@ + myconf={} + config_file="" + +- confdefaults={ "storedir":"/var/tmp/catalyst",\ +- "sharedir":"/usr/share/catalyst","distdir":"/usr/portage/distfiles",\ ++ confdefaults={ "storedir":"/var/tmp/catalyst2",\ ++ "sharedir":"/usr/share/catalyst2","distdir":"/usr/portage/distfiles",\ + "portdir":"/usr/portage","options":"",\ +- "snapshot_cache":"/var/tmp/catalyst/snapshot_cache" } ++ "snapshot_cache":"/var/tmp/catalyst2/snapshot_cache" } + + # first, try the one passed (presumably from the cmdline) + if myconfig: +@@ -67,9 +67,9 @@ + sys.exit(1) + + # next, try the default location +- elif os.path.exists("/etc/catalyst/catalyst.conf"): +- print "Using default Catalyst configuration file, /etc/catalyst/catalyst.conf" +- config_file="/etc/catalyst/catalyst.conf" ++ elif os.path.exists("/etc/catalyst2/catalyst2.conf"): ++ print "Using default Catalyst configuration file, /etc/catalyst2/catalyst2.conf" ++ config_file="/etc/catalyst2/catalyst2.conf" + + # can't find a config file (we are screwed), so bail out + else: |