Cleaning up from previous installations

Having trouble installing serendipity?
Post Reply
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Cleaning up from previous installations

Post by joho »

I've been using S9Y for quite some time now, and always installed upgrades into the same directory. This has worked pretty good for a long time.

Today, I went to upgrade to 1.0 and it too went smoothly. But I noticed that in another installation, where I have not kept upgrading on top of old installations for as long, there was a lot less files (PHP mainly).

So I went back to my blog installation and found files from 2004 (!)..

Could we have a shell script or something that, when run from the S9Y "root", lists files and directories it does NOT know about?


-joho
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Cleaning up from previous installations

Post by garvinhicking »

Hi!

For the switch to Serendipity 0.8, many files got changed or removed. A complete list of those files can be found in the docs/CHANGED_FILES file. You can remove those files listed there as obsolete. :)

Usually s9y deleted those files if it had write privileges on the 0.8 upgrade; but it seems you didn't have those. Coding a shell script like yours could easily harm installations where people put customized content into it. I'd rather not create such a hazardous script. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply