SOURCES: ruby-Quanty-datadir.patch (NEW) - moves data into /usr/share

aredridel aredridel at pld-linux.org
Sun Jul 10 01:20:27 CEST 2005


Author: aredridel                    Date: Sat Jul  9 23:20:27 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- moves data into /usr/share

---- Files affected:
SOURCES:
   ruby-Quanty-datadir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ruby-Quanty-datadir.patch
diff -u /dev/null SOURCES/ruby-Quanty-datadir.patch:1.1
--- /dev/null	Sun Jul 10 01:20:27 2005
+++ SOURCES/ruby-Quanty-datadir.patch	Sun Jul 10 01:20:22 2005
@@ -0,0 +1,12 @@
+diff -ur quanty-1.2o/lib/quanty/fact.rb quanty-1.2/lib/quanty/fact.rb
+--- quanty-1.2o/lib/quanty/fact.rb	2004-02-29 00:38:29.000000000 -0700
++++ quanty-1.2/lib/quanty/fact.rb	2005-07-09 16:35:17.000000000 -0600
+@@ -228,7 +228,7 @@
+ 
+   ### Loading unit data ###
+   fn = nil
+-  $:.each{ |dir|
++  ['/usr/share/ruby'] + $:.each{ |dir|
+     fn = dir + "/quanty/units.dump"
+     break if FileTest.exist?( fn )
+     fn = nil
================================================================



More information about the pld-cvs-commit mailing list