Permalink
Browse files

Whoops, need the skins/ folder out of the repository.

Signed-off-by: shalott <shalott@gmail.com>
  • Loading branch information...
1 parent 6604813 commit 839698b65cb37c920e93c03ed905feaedd582082 @shalott shalott committed Nov 8, 2011
Showing with 5 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. +2 −4 lib/tasks/skin_tasks.rake
  3. +2 −0 public/stylesheets/README.txt
  4. +0 −2 public/stylesheets/skins/README.txt
View
@@ -40,6 +40,7 @@ REVISION
/public/system
/public/downloads
/public/stylesheets/cached_for_screen.css
+/public/stylesheets/skins
# /public/images/
/public/images/Thumbs.db
@@ -68,10 +68,8 @@ namespace :skins do
title = $1.strip
skin.title = title
if (oldskin = Skin.find_by_title(title)) && oldskin.id != skin.id
- # temporary while testing!
- oldskin.destroy
- # puts "Existing skin with title #{title} - did you mean to replace?"
- # next
+ puts "Existing skin with title #{title} - did you mean to replace? Skipping."
+ next
end
preview_filename = "#{dir}/previews/#{title.gsub(/[^\w\s]+/, '')}.png"
@@ -0,0 +1,2 @@
+The skins/ directory stores cached skins created via the admin interface, one per folder. Its contents are automatically generated from the database and/or
+from the site skins, and changes will be overwritten, so please do not edit files here!
@@ -1,2 +0,0 @@
-This directory stores cached skins created via the admin interface, one per folder. Its contents are automatically generated from the database and/or
-from the site skins, and changes will be overwritten, so please do not edit files here!

0 comments on commit 839698b

Please sign in to comment.