;this should be standard on up-to-date systems, but who
;knows if any user has deleted those libraries? Keep sure...
;so everything will work properly.
if not exists sys:rexxc
makedir sys:RexxC
setenv RexxInstalledNow 1
endif
if not exists sys:rexxc/rxlib
copy Inst_rexx/rexxc/rxlib SYS:RexxC CLONE QUIET
setenv RexxInstalledNow 1
endif
if not exists sys:rexxc/rx
copy Inst_rexx/rexxc/rx SYS:RexxC CLONE QUIET
setenv RexxInstalledNow 1
endif
resident SYS:rexxc/rx PURE
;--------------------------------
LAB Create
run >NIL: sys:system/rexxmast
wait 1
SYS:RexxC/rxlib rexxsupport.library 80 -30
SYS:RexxC/rxlib rexxreqtools.library 50 -30
SYS:RexxC/rxlib rexxarplib.library 30 -30
if not exists ENV:Flags
makedir ENV:Flags
endif
setenv Flags/REXX_INSTALLED 1
LAB EndRexx
;-------------------------------- end StartRexx
;-------------------------------- GetCode
echo "*n"
Install_C:GetCode
;-------------------------------- END
lab END
wait 5
cd SYS:
endcli
;--------------------------------
lab ERROR
echo "*ec*n*e[1m Error installing $app:*e[0m*n*n The following files must be in this directory:*n*n $app.lha*n Install_Guide*n $app_iGuide.lha*n Lha*n*n*n Your version is*e[1m not up to date*e[0m or it is*e[1m incomplete*e[0m.*n*n Closing this window 1