Changeset 512 for branches/client-2.0/src
- Timestamp:
- Jan 6, 2011, 7:00:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-2.0/src/resources/instpl.cmd
r323 r512 1 @echo off 2 REM this script is executed from NLS directory! 3 copy ndpsmb.hlp .. 4 cd .. 5 nd.exe plugin install ndpsmb.ndp 6 del ndpsmb.hlp 1 /* Install Samba Plugin */ 2 call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' 3 call SysLoadFuncs 4 '@echo off' 5 6 /* Add supported languages here */ 7 langs = "DE,FR,EN" 8 9 ok = SysFileTree("ndpsmb.dll",exist.,"FO") 10 if exist.0 = 0 then do 11 say "Plugin not found in current directory! Aborting..." 12 exit -1 13 end 14 15 lang = translate(arg(1)) 16 if lang = "" then do 17 lang = translate(left(strip(value("LANG",,"OS2ENVIRONMENT")),2)) 18 end 19 if pos(lang,langs) = 0 then lang = 'EN' 20 say 'Installing 'lang 21 'copy .\'lang'\ndpsmb.hlp 1>NUL' 22 'nd.exe plugin install ndpsmb.ndp' 23 ok = SysFileDelete("ndpsmb.hlp")
Note:
See TracChangeset
for help on using the changeset viewer.