Commit 2e4a80a200d9266f86cdb2fd0d6aa970fb10c577

Authored by Silvan Calarco
1 parent 454d2162af
Exists in master

kde5-migrate-user-conf: fix path of new local apps config (~/.local/share/, not ~/.local/)

Showing 1 changed file with 8 additions and 8 deletions Side-by-side Diff

bin/kde5-migrate-user-conf
... ... @@ -26,18 +26,18 @@
26 26 for p in ~/.kde4/share/apps/*; do
27 27 [ -L $p ] && continue
28 28 f=`basename $p`
29   - if [ -e ~/.local/$f ]; then
  29 + if [ -e ~/.local/share/$f ]; then
30 30 if [ "$FORCE" ]; then
31   - echo "Migrating $p -> ~/.local/$f [forced]"
32   - mv ~/.local/$f ~/.local/$f.bak
33   - mv $p ~/.local/ || exit 1
34   - ln -s ../../../.local/$f $p || exit 1
  31 + echo "Migrating $p -> ~/.local/share/$f [forced]"
  32 + mv ~/.local/share/$f ~/.local/share/$f.bak
  33 + mv $p ~/.local/share/ || exit 1
  34 + ln -s ../../../.local/share/$f $p || exit 1
35 35 fi
36 36 #echo "SKIPPED: $p"
37 37 else
38   - echo "Migrating $p -> ~/.local/$f"
39   - mv $p ~/.local/ || exit 1
40   - ln -s ../../../.local/$f $p || exit 1
  38 + echo "Migrating $p -> ~/.local/share/$f"
  39 + mv $p ~/.local/share || exit 1
  40 + ln -s ../../../.local/share/$f $p || exit 1
41 41 fi
42 42 done
43 43 touch ~/.kde4/share/.kde5_conf_migrated