From 2f41a544771c0fcaf8abfee963063ba212204d17 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 29 Jun 2009 00:32:19 +0200 Subject: handle svg seperately --- data/types.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'data/types.rb') diff --git a/data/types.rb b/data/types.rb index 97648ec0..698a3d98 100644 --- a/data/types.rb +++ b/data/types.rb @@ -20,6 +20,11 @@ class Directory::Entry use.rake end + ## then at the extension + case @ext + when 'svg' + use.firefox + end ## then look at the mime-type case @mimetype @@ -49,7 +54,7 @@ class Directory::Entry end - ## then at the extension + ## then at the extension again case @ext when 'swc', 'smc' use.zsnes -- cgit 1.4.1-2-gfad0