Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Re: [SM-Grimoire] Re: bug in flash-6.0r79 spell

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Re: [SM-Grimoire] Re: bug in flash-6.0r79 spell
  • Date: Mon, 30 Jun 2003 07:09:10 +0200

On Mon, Jun 30, 2003 at 10:23:19AM +1200, Belxjander wrote:
> > > 2. In each subsection, have a mkdir command specific to the system OR
> > > what about a universal one (say /usr/lib/browserplugins/ ) ?
> >
> > Shouldn't the spell for each individual browser create those
> > directories? I know mozilla, netscape and opera do, for kdebase because
> > we are modifying the location, can we have kdebase create that directory
> > so other plugins can use it as well (not just flash) and if other
> > plugins use it and they all try creating the directory, things could get
> > messy, I think it'd be better to have the browser spells create those
> > directories.
>
> what about having the browser spells AND the plugin spells check first?
> and only attempt to mkdir when the dir is not present? that is simple
> enough
> is it not ?

Why not just use mkdir -p, which doesn't fail if the directory exists?
Even if installwatch tracks it for all spells then, sorcery won't remove
non empty directories on dispel.

--
Arwed v. Merkatz
Grimoire Guru for video
Sourcemage GNU/Linux
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page