diff --git a/restore.sh b/restore.sh index e97673c..f54de84 100755 --- a/restore.sh +++ b/restore.sh @@ -154,12 +154,8 @@ fi while true; do echo "" echo "Konsole configuration files to be restored:" - find "${TEMP_DIR}" -mindepth 1 | while read -r f; do + find "${TEMP_DIR}" -type f | while read -r f; do rel="${f#"${TEMP_DIR}"/}" - # Skip top-level parent directories if they appear alone - if [ "${rel}" = ".config" ] || [ "${rel}" = ".local" ] || [ "${rel}" = ".local/share" ] || [ "${rel}" = ".local/share/kxmlgui5" ]; then - continue - fi echo " - ~/${rel}" done echo ""