summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh b/etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh
index 372fe76..e18d3cb 100644
--- a/etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh
+++ b/etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh
@@ -114,10 +114,10 @@ EOF
MGA5to6=$(kreadconfig5 --group "Mageia" --key "Mageia5to6" --default "false")
if [ ! "$MGA5to6" = "true" ]; then
DIRDESKTOP=$(eval "echo $(kreadconfig5 --file $HOME/.config/user-dirs.dirs --key XDG_DESKTOP_DIR --group "" )" )
- HOME="$DIRDESKTOP/Home2.desktop"
+ HOME_OLD="$DIRDESKTOP/Home2.desktop"
TRASH="$DIRDESKTOP/trash.desktop"
- if [ -e "$HOME" ]; then
- rm -f "$HOME"
+ if [ -e "$HOME2" ]; then
+ rm -f "$HOME_OLD"
fi
if [ -e "$TRASH" ]; then