This is a silly little problem. The upgrade docs say 'unpack it to your existing folder'. How exactly? My serendipity installation folder is not called serendipity. I tar xvzf the archive and it extracts to a serendipity subfolder. I can't mv its contents into the original folder because mv is not clever enough to merge into existing dirs (even with -f). There doesn't seem to be a tar option to ignore the top level of relative directories on extraction.
For now I've worked around it by renaming my blog folder to serendipity, unpacking the archive over it, then renaming it back. This is not very elegant - I would imagine that the majority of users do not have it in a folder named serendipity, so how would you normally do this otherwise?
Updating from 0.8b4 - small tar problem
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Updating from 0.8b4 - small tar problem
You can do it with
and remove the duplicate of serendipty/* afterwards.
Regards
Garvin
Code: Select all
cp -r serendipity/* your_real_serendipity_dir/
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/
# 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/