mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Provide for installers
This commit is contained in:
parent
2b9df72e34
commit
54314fcba6
1 changed files with 9 additions and 1 deletions
|
|
@ -1333,6 +1333,10 @@ module GxG
|
||||||
# ###
|
# ###
|
||||||
#
|
#
|
||||||
end
|
end
|
||||||
|
# ### Installer Support
|
||||||
|
class SoftwareInstaller
|
||||||
|
#
|
||||||
|
end
|
||||||
#
|
#
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -1391,7 +1395,11 @@ core_service.on(:at_start, {:description => "System Service Layer Startup", :usa
|
||||||
# ### Startup Scripts
|
# ### Startup Scripts
|
||||||
Dir.entries("#{::GxG::SYSTEM_PATHS[:system]}/Startup").each do |entry|
|
Dir.entries("#{::GxG::SYSTEM_PATHS[:system]}/Startup").each do |entry|
|
||||||
if File.extname(entry) == ".rb"
|
if File.extname(entry) == ".rb"
|
||||||
require "#{::GxG::SYSTEM_PATHS[:system]}/Startup/#{entry}"
|
begin
|
||||||
|
require "#{::GxG::SYSTEM_PATHS[:system]}/Startup/#{entry}"
|
||||||
|
rescue Exception => the_error
|
||||||
|
log_error({:error => the_error})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue