Page 1 of 1

Cleaning up from previous installations

Posted: Wed Jun 28, 2006 10:47 am
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

Re: Cleaning up from previous installations

Posted: Wed Jun 28, 2006 11:18 am
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