Changeset 1991

Show
Ignore:
Timestamp:
03/01/07 20:57:12 (2 years ago)
Author:
mbr
Message:

bugfix for auto_dl installation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • psad/branches/psad-2.0.5/install.pl

    r1988 r1991  
    471471        if (-e $file) { 
    472472            &archive($file) unless $noarchive; 
    473         } 
    474 ### FIXME, need a real config preservation routine for these files. 
    475        unless (&query_preserve_sigs_autodl($file)) { 
     473            ### FIXME, need a real config preservation routine for these files. 
     474            unless (&query_preserve_sigs_autodl($file)) { 
     475                &logr("[+] Copying $filename -> $file\n"); 
     476                copy $filename, $file or die "[*] Could not ", 
     477                    "copy $filename -> $file: $!"; 
     478                &perms_ownership($file, 0600); 
     479            } 
     480        } else { 
    476481            &logr("[+] Copying $filename -> $file\n"); 
    477482            copy $filename, $file or die "[*] Could not ",