From 2e4a80a200d9266f86cdb2fd0d6aa970fb10c577 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 6 Jul 2016 13:56:59 +0200 Subject: [PATCH] kde5-migrate-user-conf: fix path of new local apps config (~/.local/share/, not ~/.local/) --- bin/kde5-migrate-user-conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/kde5-migrate-user-conf b/bin/kde5-migrate-user-conf index 36fb3f7..21c2a72 100755 --- a/bin/kde5-migrate-user-conf +++ b/bin/kde5-migrate-user-conf @@ -26,18 +26,18 @@ done for p in ~/.kde4/share/apps/*; do [ -L $p ] && continue f=`basename $p` - if [ -e ~/.local/$f ]; then + if [ -e ~/.local/share/$f ]; then if [ "$FORCE" ]; then - echo "Migrating $p -> ~/.local/$f [forced]" - mv ~/.local/$f ~/.local/$f.bak - mv $p ~/.local/ || exit 1 - ln -s ../../../.local/$f $p || exit 1 + echo "Migrating $p -> ~/.local/share/$f [forced]" + mv ~/.local/share/$f ~/.local/share/$f.bak + mv $p ~/.local/share/ || exit 1 + ln -s ../../../.local/share/$f $p || exit 1 fi #echo "SKIPPED: $p" else - echo "Migrating $p -> ~/.local/$f" - mv $p ~/.local/ || exit 1 - ln -s ../../../.local/$f $p || exit 1 + echo "Migrating $p -> ~/.local/share/$f" + mv $p ~/.local/share || exit 1 + ln -s ../../../.local/share/$f $p || exit 1 fi done touch ~/.kde4/share/.kde5_conf_migrated