Ignore:
Timestamp:
Jan 15, 2011, 10:16:21 AM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Samba Client 2.0: Universal instpl.cmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/resources/instpl.cmd

    r512 r522  
    1 /* Install Samba Plugin */
     1/* Install NetDrive Plugin */
    22call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
    33call SysLoadFuncs
     
    77langs = "DE,FR,EN"
    88
    9 ok = SysFileTree("ndpsmb.dll",exist.,"FO")
     9ok = SysFileTree("ndp*.dll",exist.,"FO")
    1010if exist.0 = 0 then do
    1111  say "Plugin not found in current directory! Aborting..."
    1212  exit -1
    1313end
     14else plugin = left(filespec("N",exist.1),length(filespec("N",exist.1))-4)
    1415
    1516lang = translate(arg(1))
     
    1819end
    1920if 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")
     21say 'Installing 'plugin' for 'lang
     22'copy .\'lang'\'plugin'.hlp 1>NUL'
     23'nd.exe plugin install 'plugin'.ndp'
     24ok = SysFileDelete(plugin".hlp")
Note: See TracChangeset for help on using the changeset viewer.