Sha256: 6577529612dbf7c3294289bcee0632c70698db797d11e8ab0c69d09bd8079e04

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 Bytes

Contents

##############################################
# install.rb
#
# Install script for Win32 systems only.
##############################################
unless File::ALT_SEPARATOR
   STDERR.puts "Unix systems should use the extconf.rb file for installation."
   STDERR.puts "Exiting.  The sys-admin package was NOT installed."
   exit
end

require "rbconfig"
require "ftools"
include Config

sitedir = CONFIG['sitelibdir']

unless File.exist?("#{sitedir}/sys")
   Dir.mkdir("#{sitedir}/sys")
end

File.copy("lib/sys/win32.rb", "#{sitedir}/sys/admin.rb", true)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sys-admin-1.4.1-mswin32 install.rb
sys-admin-1.4.0-mswin32 install.rb