[Pmwiki-users] Method to update beta
Christian Ridderström
chr
Mon Feb 16 07:01:07 CST 2004
Hi
Here's one way I've come up with to just overwrite an earlier beta with a
later. The example below assumes that the beta-installation is located in:
~/wiki.lyx.org/beta
This sequence of (bash) commands will update your beta installation
beta=pmwiki-0.6.beta15 # Name of beta release
destDir=~/wiki.lyx.org/beta # Where to install (must exist)
pushd /tmp # Go to temporary directory
rm -rf /tmp/$beta # Remove any previous directory
# Download and extract beta-release (to /tmp/$beta)
wget -O- http://www.pmichaud.com/pub/pmwiki/$beta.tgz | tar xz
# "Copy" everything from /tmp/$beta to $destDir
cd /tmp/$beta && tar c . | tar x -C $destDir
popd # Return to your starting directory
rm -rf /tmp/$beta # Remove temporary directory
Note: This will not erase any (now) obsolete files, you will have to do
that manually.
/Christian
PS. You should probably know what you're doing if you decide to use the
method above :-)
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list