Changeset 687 for trunk/client/src/resources
- Timestamp:
- Jan 26, 2012, 5:42:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/src/resources/ndpsmb.tpl
r529 r687 4 4 <HEAD> 5 5 <TITLE>Samba Plugin installer</TITLE> 6 7 <REXX NAME=ChkREQ> 8 call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' 9 call SysLoadFuncs 10 /* based upon work from Dmitriy Kuminov */ 11 parse arg aFile " Package:" Package 12 name = filespec('N', aFile) 13 ext = translate(right(name, 4)) 14 search_path = "" 15 select 16 when (ext == '.DLL') then do 17 config_sys = SysBootDrive()'\CONFIG.SYS' 18 do while lines(config_sys) 19 line = strip(linein(config_sys)) 20 if (left(line, 8) == 'LIBPATH=') then do 21 search_path = substr(line, 9) 22 leave 23 end 24 end 25 call lineout config_sys 26 search_path = SysQueryExtLibPath('B')';'search_path';'SysQueryExtLibPath('E') 27 end 28 when (ext == '.EXE') then search_path = value('PATH',, 'OS2ENVIRONMENT') 29 when (ext == '.HLP') then search_path = value('BOOKSHELF',, 'OS2ENVIRONMENT') 30 otherwise search_path = '' 31 end 32 if (search_path \= '') then do 33 ok = value('CHKREQ_SEARCH_PATH', search_path, 'OS2ENVIRONMENT') 34 real_file = SysSearchPath('CHKREQ_SEARCH_PATH', name) 35 ok = value('CHKREQ_SEARCH_PATH', '', 'OS2ENVIRONMENT') 36 end 37 else real_file = "" 38 39 /* generate the message string to return */ 40 if real_file <> "" then MsgStr = ""; else MsgStr = 'REQUIRES="' || strip(Package) || '"' 41 return MsgStr 42 </REXX> 6 43 7 44 <REXX NAME=chkndenv> … … 75 112 =("nls") 76 113 =("chkndenv") 114 =("ChkREQ LIBC064.DLL Package:netlabs.org\kLIBC\LIBC 0.6 Runtime\0\6\4") 115 =("ChkREQ GCC446.DLL Package:netlabs.org\GCC4\Core\1\2\0") 116 =("ChkREQ STDCPP.DLL Package:netlabs.org\GCC4\Core\1\2\1") 77 117 TITLE="Samba Client Plugin for Netdrive and EVFS" 78 118 TARGET="$(NDFS)\InstallPackages\ndpsmb"
Note:
See TracChangeset
for help on using the changeset viewer.