diff --git a/share/killinuxfloor b/share/killinuxfloor index bf11c4e..f3e4cd7 100755 --- a/share/killinuxfloor +++ b/share/killinuxfloor @@ -768,7 +768,7 @@ function check_workshop () #echo '(Legend: ID, name, download state, cache state, web)' # Find items that are present but not subscribed to anymore - if [ "${1}" -eq 0 ] + if [ "${1}" -eq 0 ] && [ -d "${WORKSHOP_CONTENT_DIR}" ] then UNKNOWN_WORKSHOP=() @@ -813,7 +813,10 @@ function check_workshop () echo_link "https://steamcommunity.com/sharedfiles/filedetails/?id=${item}" "🌐" true done fi + fi + if [ "${1}" -eq 0 ] && [ -d "${CACHE_DIR}" ] + then UNKNOWN_CACHE=() for dl_item in $(find ${CACHE_DIR} -mindepth 1 -maxdepth 1 -type d -printf '%f\n')