[pmwiki-users] Mac OS X Upgrades

Scott Connard connard at dsg-inc.com
Sat Aug 26 09:59:19 CDT 2006


On Aug 26, 2006, at 9:57 AM, Patrick R. Michaud wrote:

> On Sat, Aug 26, 2006 at 03:25:54AM -0400, Scott Connard wrote:
>> Patrick,
>>
>> In a response to an upgrade question, you casually mentioned
>>
>>> Thus, the PmWiki distribution never modifies any files in the  
>>> local/,
>>> cookbook/, or pub/css/ directories.  (It also leaves wiki.d/ and
>>> uploads/ intact.)  So, as long as any configuration changes you
>>> make are limited to files in those directories, it's quite
>>> safe (except under Mac OS/X) to simply copy a new version of PmWiki
>>> on top of your existing version.
>>
>> As a Mac user, I'm not sure why you singled us out.  The PmWiki
>> upgrade instructions don't mention any real issues on Mac OS X.  All
>> I can think of is that you meant that you can't drag the installation
>> directory into place and must use tar or cp from within Terminal.
>
> Yes, that's exactly it -- I'm told that dragging the installation
> directory into place under Mac OS tends to erase local/ and cookbook/,
> which is definitely a Bad Thing.  I've been meaning to add this little
> snippet to the upgrade instructions but just haven't found the right
> wording yet.
>
> I think I had also been told that using "cp -r" from within Terminal
> also had similar problems, but I'd be very happy to learn that this
> works fine.  I won't feel obligated to single out the Mac in the
> future -- just a warning against dragging will be sufficient.  :-)
>
> Thanks!
>
> Pm

Pm,

"cp -Rp pmwiki-x.y.z pmwiki" would indeed cause unexpected results  
(as it creates pmwiki-x.y.z as a nested directory within pmwiki), but  
the documented "cp -Rp pmwiki-x.y.z/. pmwiki" works fine as would "cp  
-Rp pmwiki-x.y.z/* pmwiki".

Thanks,
Scott.





More information about the pmwiki-users mailing list