From 81482e0cb321fd19dc78a8f0a8888918fb65d771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Mon, 26 Dec 2016 23:47:25 +0100 Subject: Fix var name mistake --- etc/xdg/plasma-workspace/env/plasma5-firstsetup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit v1.2.1