Changeset 2207
- Timestamp:
- 08/04/08 08:03:16 (4 months ago)
- Files:
-
- psad/trunk/install.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
psad/trunk/install.pl
r2199 r2207 338 338 mkdir $USRSBIN_DIR,0755; 339 339 } 340 if (-d ' whois') {340 if (-d 'deps' and -d 'deps/whois') { 341 341 &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') { 344 344 ### if an old whois process is still around ("text file 345 345 ### busy" error), then it is ok to not be able to copy … … 347 347 ### work fine. 348 348 &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'}: $!" 351 351 unless -e $cmds{'whois'}; 352 352 } else {
