summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2016-12-26 23:47:25 +0100
committerNicolas Lécureuil <neoclust@mageia.org>2016-12-26 23:47:25 +0100
commit81482e0cb321fd19dc78a8f0a8888918fb65d771 (patch)
tree52f8c0321a51a09d52fddf90d1cf9b814b5a1586 /etc
parentc35fd78f33cf8c9515be14386bf4686b389e0ba7 (diff)
downloadconfig-81482e0cb321fd19dc78a8f0a8888918fb65d771.tar
config-81482e0cb321fd19dc78a8f0a8888918fb65d771.tar.gz
config-81482e0cb321fd19dc78a8f0a8888918fb65d771.tar.bz2
config-81482e0cb321fd19dc78a8f0a8888918fb65d771.tar.xz
config-81482e0cb321fd19dc78a8f0a8888918fb65d771.zip
Fix var name mistake
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