CVS is history
authorGuillaume Cottenceau <gcottenc@gmail.com>
Wed, 11 Feb 2009 15:55:06 +0000 (16:55 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Wed, 11 Feb 2009 15:55:06 +0000 (16:55 +0100)
bin/booh-backend
lib/booh/pre-setup.rb

index 910778d..30b0a0e 100755 (executable)
@@ -904,7 +904,7 @@ def walk_source_dir
                 
                 #- copy any resource file that goes with the theme (css, images..)
                 themestuff = Dir.entries("#{$themedir}").
-                                 find_all { |e| !%w(. .. skeleton_image.html skeleton_thumbnails.html skeleton_index.html metadata root CVS).include?(e) }
+                                 find_all { |e| !%w(. .. skeleton_image.html skeleton_thumbnails.html skeleton_index.html metadata root).include?(e) }
                 themestuff.each { |entry|
                     if !File.exists?(File.join(dest_dir, entry))
                         psys("cp '#{$themedir}/#{entry}' '#{dest_dir}'")
@@ -914,7 +914,7 @@ def walk_source_dir
                 #- copy any root-only resource file that goes with the theme (css, images..)
                 if xmldir.parent.name != 'dir'
                     themestuff_root = Dir.entries("#{$themedir}/root").
-                                          find_all { |e| !%w(. .. CVS).include?(e) }
+                                          find_all { |e| !%w(. ..).include?(e) }
                     themestuff_root.each { |entry|
                         if !File.exists?(File.join(dest_dir, entry))
                             psys("cp '#{$themedir}/root/#{entry}' '#{dest_dir}'")
@@ -1045,7 +1045,7 @@ def walk_source_dir
 
             #- copy any resource file that goes with the theme (css, images..)
             themestuff = Dir.entries("#{$themedir}").
-                             find_all { |e| !%w(. .. skeleton_image.html skeleton_thumbnails.html skeleton_index.html metadata root CVS).include?(e) }
+                             find_all { |e| !%w(. .. skeleton_image.html skeleton_thumbnails.html skeleton_index.html metadata root).include?(e) }
             themestuff.each { |entry|
                 if !File.exists?(File.join(dest_dir, entry))
                     psys("cp '#{$themedir}/#{entry}' '#{dest_dir}'")
@@ -1055,7 +1055,7 @@ def walk_source_dir
             #- copy any root-only resource file that goes with the theme (css, images..)
             if xmldir.parent.name != 'dir'
                 themestuff_root = Dir.entries("#{$themedir}/root").
-                                      find_all { |e| !%w(. .. CVS).include?(e) }
+                                      find_all { |e| !%w(. ..).include?(e) }
                 themestuff_root.each { |entry|
                     if !File.exists?(File.join(dest_dir, entry))
                         psys("cp '#{$themedir}/root/#{entry}' '#{dest_dir}'")
index 60c7218..e9ecccc 100644 (file)
@@ -18,7 +18,7 @@ File.open('version.rb', 'w') do |file|
     begin
         version = IO.readlines('../../VERSION').join.chomp
     rescue Errno::ENOENT
-        version = "CVS"
+        version = "dev"
     end
     file.print <<EOS
 # This file is automatically generated by the installer.