/etc/skel/.bash_profile not upgraded properly

Bug #211406 reported by Martin Pitt
4
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: bash

A fresh Hardy install only has /etc/skel/.profile, whereas a Dapper->current Hardy install has both /etc/skel/.profile and the old /etc/skel/.bash_profile.

On upgrade, the old file should be removed if unmodified, or moved to the new name if modified.

Tags: upgrade

Related branches

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias, can you please have a look at this?

Changed in bash:
assignee: nobody → doko
milestone: none → ubuntu-8.04.1
Revision history for this message
Matthias Klose (doko) wrote :

> On upgrade, the old file should be removed if unmodified, or moved to the new name if modified.

this means, we have to track the md5sums of the /etc/skel/.bash_profile for each upload back to dapper to answer this question. Do you see a simpler way?

Changed in bash:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bash - 3.2-0ubuntu16

---------------
bash (3.2-0ubuntu16) hardy; urgency=low

  * Remove /etc/skel/.bash_profile, if it is unmodified; if modified and
    /etc/skel/.profile is unmodifed, move .bash_profile to .profile.
    LP: #211406.
  * /etc/skel/.bashrc: Add an option to blurt a terminal window with a
    colored prompt. LP: #103929.
  * /etc/skel/.bashrc: Add color support for grep and friends (commented out
    by default). LP: #144632.
  * /etc/skel/.profile: Avoid the use of `~'. LP: #200283.
  * Add a shopt option compat31 to falls back to the behaviour of bash-3.1
    and earlier versions, in that quoting the string argument to the [[
    command's =~ +operator does not force string matching. LP: #110407.

 -- Matthias Klose <email address hidden> Tue, 15 Apr 2008 01:24:06 +0200

Changed in bash:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.