mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 08:10:13 +01:00
forgot to add these
This commit is contained in:
parent
86afd42148
commit
fde64e0b3d
145 changed files with 9044 additions and 0 deletions
6
backup.rails2.3/plugins/swf_fu/uninstall.rb
Normal file
6
backup.rails2.3/plugins/swf_fu/uninstall.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
require "fileutils"
|
||||
|
||||
dest = File.dirname(__FILE__) + "/../../../public"
|
||||
FileUtils.rm "#{dest}/javascripts/swfobject.js" rescue puts "Warning: swfobject.js could not be deleted"
|
||||
FileUtils.rm "#{dest}/swfs/expressInstall.swf" rescue puts "Warning: expressInstall.swf could not be deleted"
|
||||
Dir.rmdir "#{dest}/swfs/" rescue "don't worry if directory is not empty"
|
||||
Loading…
Add table
Add a link
Reference in a new issue