First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67193
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 40698
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Toby Dickenson <toby@tarind.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67193 depends on: Show dependency tree
Bug 67193 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-11 21:44 0000
back in bug #3827, startkde was patched to add this line:

[ -d .kde ] && /bin/mv .kde .kde.backup

The gentoo standard is to have .kde as a symlink to some the real kde configuration directory. The intended purpose of this line is to move any existing .kde directory out of the way before creating the symlink in its place. /bin/mv should therefore only ever get run once, the first time a gentoo user runs startkde using a non-gentoo home directory.

However it has an unintended effect. The [ -d .kde ] test will also succeed if .kde is a symlink to a directory. This is the normal case, so /bin/mv always gets run.

The first time a gentoo users runs startkde, it creates the .kde3.3 directory and a symlink to it named .kde

The second time a gentoo user runs startkde, it moves that symlink to the name .kde.backup, and recreates a new symlink named .kde

The third (and subsequent) time a gentoo user runs startkde, it moves the existing .kde symlink *into* the .kde.backup directory.

All current gentoo kde users therefore have two spurious symlinks: ~/.kde.backup and ~/.kde3.3/.kde

The fix is to change the startkde patch to only perform that move if the .kde directory is not a symlink:

if [ -d .kde ] && [ ! -h .kde ] && /bin/mv .kde .kde.backup

------- Comment #1 From Gregorio Guidi (RETIRED) 2004-10-12 01:58:36 0000 -------
Exact! See bug 40698.

------- Comment #2 From Caleb Tennis 2004-10-12 16:25:21 0000 -------

*** This bug has been marked as a duplicate of 40698 ***

First Last Prev Next    No search results available      Search page      Enter new bug