public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrej Kacian <ticho@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] .keep files
Date: Sun, 22 May 2005 21:19:09 +0200	[thread overview]
Message-ID: <20050522211909.4dbf4236@thelair.ynet.sk> (raw)
In-Reply-To: <20050522003753.GA15776@phaenix.haell.com>

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

On Sat, 21 May 2005 17:37:53 -0700
Drake Wyrm <wyrm@haell.com> wrote:

> > I always thought that they were to keep 'emerge unmerge' from removing
> > an empty directory, but I could be wrong...
> 
> That, and to keep portage from removing empty directories during the
> post-merge clean phase. Were it not for the .keep files, portage would
> cheerfully remove any empty directories the first time the package was
> upgraded.

Wouldn't it be possible for portage to just compare a dir in live filesystem
and in the emerge image, and if the dir in image contains .keep file, the live
dir wouldn't get deleted?

-- 
Andrej "Ticho" Kacian <ticho at gentoo dot org>
Gentoo Linux Developer - net-mail, antivirus, amd64

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-22 19:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21 20:28 [gentoo-dev] .keep files Andrej Kacian
2005-05-21 20:38 ` marduk
2005-05-22  0:34   ` Jason Stubbs
2005-05-22  0:37   ` Drake Wyrm
2005-05-22 19:19     ` Andrej Kacian [this message]
2005-05-22 21:31       ` Marius Mauch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050522211909.4dbf4236@thelair.ynet.sk \
    --to=ticho@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox