Check the root folder of assp. 

Sent from my iPhone

On Jan 19, 2011, at 10:17 AM, "Scott MacLean" <[email protected]> wrote:

> 
> 
> At 03:22 AM 1/19/2011, GrayHat wrote:
> 
>>> ASSP is doing the update exactly this suggested way for over a year
>>> now - the folder for the old (replaced) versions is also 'download' -
>>> the file name of the replaced versions contains the version number.
>>> The folder has to be cleaned up manualy.
>> 
>> Maybe I'm blind :) but I've been running ASSP v2 for more than a year
>> now and sincerely I *never* found such "versioned backups" sitting
>> inside the download folder, it only contains assp.pl and the "tgz" file
>> and I mean it contains ONLY the latest version, no backups at all...
>> maybe the backup is performed only if ASSP is set to automatically
>> install the updates and doesn't kick in if it's set to only download and
>> notify ?
> 
> Ditto - I've never seen a versioned backup - the behavior of my 
> system is exactly as you describe.
> 
> I just had a look at the code, and I found this:
> 
>     return 0 if $AutoUpdateASSP == 1;
>     mlog(0,"Info: saving current script '$assp' to 
> 'assp_$version$modversion.pl'") if $MaintenanceLog;
>     if (! copy("$assp","$base/download/assp_$version$modversion.pl")) {
>         mlog(0,"warning: autoupdate: unable to save current script 
> '$assp' to '$base/download/assp_$version$modversion.pl' - skip update - $!");
>         return 0;
>     }
> 
> So if it's set to only download but not install the updates 
> ($AutoUpdateASSP ==1) then it will NOT copy to a versioned file, 
> because of that first line. Thomas, is there a reason for this?
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand 
> malware threats, the impact they can have on your business, and how you 
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
> 


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to