[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] proposed algorithm for snapshot installs

From: Russ Nelson
Subject: [Gnash-dev] proposed algorithm for snapshot installs
Date: Wed, 16 Apr 2008 15:42:57 -0400

To make it as easy as possible, we want snapshots to be easy and safe
to install and uninstall.  rsavoye has an, but I'm
uncomfortable about rm'ing existing stuff (very small risk of very bad
consequences: "I installed gnash, and it deleted my $WHATEVER!")  I
propose this algorithm:

Look for /usr/share/gnash/FILES
If it exists, then a snapshot has already been installed.
    create a /tmp/gnash-old.tar from the files named in /usr/share/gnash/FILES
    rm the files and empty subdirectories
Look in the PATH for gnash.
If it's found, crap out:
    print "Please uninstall the gnash you already have"
Check for existing files in our tarball.
    print "We need to write to these files, but they already exist:"
    (list the files)
tar tf gnash-DATE.tar.gz >/usr/share/gnash/FILES
tar xpCf / gnash-DATE.tar.gz

Make sure they have gstreamer installed:
if they have /etc/apt, "apt-get install gstreamer0.10-ffmpeg"
if they have /etc/rpm, "yum install gstreamer0.10-ffmpeg"
if not, suggest that they install gstreamer-ffmpeg.

--my blog is at   | Software that needs
Crynwr sells support for free software  | PGPok | documentation is software
521 Pleasant Valley Rd. | +1 315-323-1241       | that needs repair.
Potsdam, NY 13676-3213  |     Sheepdog          | 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]