Changeset 522 for branches/client-2.0/src
- Timestamp:
- Jan 15, 2011, 10:16:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-2.0/src/resources/instpl.cmd
r512 r522 1 /* Install SambaPlugin */1 /* Install NetDrive Plugin */ 2 2 call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' 3 3 call SysLoadFuncs … … 7 7 langs = "DE,FR,EN" 8 8 9 ok = SysFileTree("ndp smb.dll",exist.,"FO")9 ok = SysFileTree("ndp*.dll",exist.,"FO") 10 10 if exist.0 = 0 then do 11 11 say "Plugin not found in current directory! Aborting..." 12 12 exit -1 13 13 end 14 else plugin = left(filespec("N",exist.1),length(filespec("N",exist.1))-4) 14 15 15 16 lang = translate(arg(1)) … … 18 19 end 19 20 if pos(lang,langs) = 0 then lang = 'EN' 20 say 'Installing ' lang21 'copy .\'lang'\ ndpsmb.hlp 1>NUL'22 'nd.exe plugin install ndpsmb.ndp'23 ok = SysFileDelete( "ndpsmb.hlp")21 say 'Installing 'plugin' for 'lang 22 'copy .\'lang'\'plugin'.hlp 1>NUL' 23 'nd.exe plugin install 'plugin'.ndp' 24 ok = SysFileDelete(plugin".hlp")
Note:
See TracChangeset
for help on using the changeset viewer.