3 # Cleanup temporary directory
4 if [ -d <%= @directory %>/tmp ]
6 find <%= @directory %>/tmp \( \( -type f -mtime +28 \) -o \( -type d -empty \) \) -delete
10 if [ -x /usr/local/bin/cleanup-rails-assets ]
12 /usr/local/bin/cleanup-rails-assets <%= @directory %>