> > task :install => [:migrate, :update] > > task :uninstall => :cleanup do > ENV['VERSION'] = 0 > migrate > end
Additionally, the cleanup should handle removing the files copied to public. If the files are indeed copied and not moved, then programmatically reversing this should be a cinch. Use the original files in the extension directory to locate their public counterpart and delete them if the size and timestamp match. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
