I have set an alias for mv like this: alias mv='mv -i' so as not to accidentally overwrite any file. However, whenever I start X & KDE, the system waits for my verification of the following command: [ -d .kde ] && mv .kde .kde.backup (belonging to the /usr/kde/3/bin/startkde script) in tty1, while I watch the X background in tty7. I propose the following modification to the startkde script: --- startkde~ 2002-12-20 11:39:41.000000000 +0200 +++ startkde 2002-12-19 11:03:43.000000000 +0200 @@ -9,7 +9,7 @@ export KDEDIRS="/usr/kde/3:/usr" # do NOT include env.d's $KDEDIRS cd ~ -[ -d .kde ] && mv .kde .kde.backup +[ -d .kde ] && mv -f .kde .kde.backup [ -e .kde3 ] || mkdir .kde3 ln -sf .kde3 .kde export KDEHOME="${HOME}/.kde3"
I have fixed it in the 3.1 ebuild, by calling /bin/mv directly, so aliases will have no effect. -f should not be needed now. Will fix in 3.0.x (there it calls for new ~ revisions as they're stable and we're in a freeze)...
Fixed for 3.0.x in the new (masked) kdebase-3.0.5a-r1.
um, that should have been -r2
Your solution fixes things up very nicely. Thank you very much :-)
Those revisions are now marked ~, so we can close this.