Changeset 2207

Show
Ignore:
Timestamp:
08/04/08 08:03:16 (4 months ago)
Author:
mbr
Message:

updated to handle new deps/whois/ path

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • psad/trunk/install.pl

    r2199 r2207  
    338338        mkdir $USRSBIN_DIR,0755; 
    339339    } 
    340     if (-d 'whois') { 
     340    if (-d 'deps' and -d 'deps/whois') { 
    341341        &logr("[+] Compiling Marco d'Itri's whois client\n"); 
    342         system "$cmds{'make'} -C whois"; 
    343         if (-e 'whois/whois') { 
     342        system "$cmds{'make'} -C deps/whois"; 
     343        if (-e 'deps/whois/whois') { 
    344344            ### if an old whois process is still around ("text file 
    345345            ### busy" error), then it is ok to not be able to copy 
     
    347347            ### work fine. 
    348348            &logr("[+] Copying whois binary to $cmds{'whois'}\n"); 
    349             copy 'whois/whois', $cmds{'whois'}; 
    350             die "[*] Could not copy whois/whois -> $cmds{'whois'}: $!" 
     349            copy 'deps/whois/whois', $cmds{'whois'}; 
     350            die "[*] Could not copy deps/whois/whois -> $cmds{'whois'}: $!" 
    351351                unless -e $cmds{'whois'}; 
    352352        } else {