File: pre-install.rb

package info (click to toggle)
ruby-rjb 1.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 704 kB
  • sloc: ansic: 3,859; ruby: 2,604; java: 247; makefile: 35; sh: 3
file content (10 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
=begin
 Copyright (c) 2006,2014 arton
=end

require 'rbconfig'

if File.exist?(File.join(RbConfig::CONFIG['sitearchdir'], 'rjb.so'))
  File.delete(File.join(RbConfig::CONFIG['sitearchdir'], 'rjb.so'))
end