-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Skwar wrote:
> ยท Shawn Haggett <[EMAIL PROTECTED]>:
>
>> Philip Webb wrote:
>>> 060821 Shaochun Wang wrote:
>>>> Does anyone know the function of .keep file in a directory?
>>> It prevents the dir from being deleted by a script,
>>> eg esp during a package update.
>>>
>> I believe it is to do with how tar handles directories. If there are no
>> files in a dir, tar won't include the dir in the archive.
>
> Nope, tar doesn't have anything to do with this.
>
> [ ... snip Alexander's tar test ... ]
>
>
> Alexander Skwar
I believe it has something to do with portage.  For example, if a
package being unmerged wants to remove that directory, it will leave
it alone if there is a .keep file there.

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE6geWTPA54hjTSp4RAilBAJ9As7oI9+dgc6gI7sxzrCVr7lK7ZgCfagGa
eqXSrxVaL1WfytmW0jPRAPM=
=iZgd
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list

Reply via email to