Skip to content
Newer
Older
100644 9 lines (6 sloc) 309 Bytes
5c412eb @noahd1 making script/oink file and creating plugin hooks to install it
authored
1 #!/usr/bin/env ruby
a8afe7d @noahd1 updating install file to require fbtools
authored
2 require 'ftools'
5c412eb @noahd1 making script/oink file and creating plugin hooks to install it
authored
3
2134432 @noahd1 attempted fix for install.rb to fix 'plugin not found' error
authored
4 template_executable_file = File.join(File.dirname(__FILE__), "application_files", "script", "oink")
5c412eb @noahd1 making script/oink file and creating plugin hooks to install it
authored
5 executable_file = File.expand_path("#{File.dirname(__FILE__)}/../../../script/oink")
6
a8afe7d @noahd1 updating install file to require fbtools
authored
7 File.copy template_executable_file, executable_file
8 File.chmod 0755, executable_file
Something went wrong with that request. Please try again.