delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/16/17:15:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Date: Thu, 16 Feb 2012 23:14:41 +0100
From: David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: base-files problem
Message-ID: <20120216221441.GC9451@jethro.local.lan>
References: <jhjhh3$tu3$1 AT dough DOT gmane DOT org> <20120216204156 DOT GB9451 AT jethro DOT local DOT lan> <jhjqsp$c7u$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <jhjqsp$c7u$1@dough.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--UFHRwCdBEJvubb2X
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 16, 2012 at 03:02:16PM -0600, Ren=E9 Berber wrote:
> On 2/16/2012 2:41 PM, David Sastre Medina wrote:
> and the files where
> not deleted, just changed in a way I no longer had a PS1.

PS1 is set and exported in /etc/profile

> I also lost
> PROMPT_COMMAND which also showed the current directory.

The default PROMPT_COMMAND is set (commented) in skeletal .bash_profile to
'history -a', which has nothing to do with showing your PWD.

> Its possible
> that I had changed them so the problem is really that those files
> where replaced, probably my mistake if I had modified the wrong files
> (I thought the /etc/skel where the ones I should modify, and not touch
> the /etc/defaults/ files).

The test in the preremove step is done comparing the files under
/etc/skel against those under /etc/defaults/etc/skel. If locally
modified /etc/skel/* files have been removed, that's unexpected.
But there is no way installing base-files could partially modify your
/etc/skel/* files. Even if they were wrongly replaced, you should have
exactly version 4.0-9 files, not partially modified ones.

--=20
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

--UFHRwCdBEJvubb2X
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iF4EAREIAAYFAk89f9EACgkQ95urBFKZ7FbIvwD/RzDVUc12QgeNf4wG/sUunJja
bixV+MbOjdDdU1u2zOIA/0ECcSRkdXoLGYG0jJflFrSm8C4rGKuK/Wyb6BghW/el
=fDOe
-----END PGP SIGNATURE-----

--UFHRwCdBEJvubb2X--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019