Create ~/.local/share if missing

This commit is contained in:
Kron4ek 2023-05-05 00:18:44 +05:00
parent fe425cbb61
commit 7869c2dd69

View file

@ -19,7 +19,7 @@ script_version="1.22.1"
# Important variables to manually adjust after modification! # Important variables to manually adjust after modification!
# Needed to avoid problems with mounting due to an incorrect offset. # Needed to avoid problems with mounting due to an incorrect offset.
script_size=27167 script_size=27201
utils_size=2520686 utils_size=2520686
# Full path to the script # Full path to the script
@ -844,6 +844,7 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || \
fi fi
done done
mkdir -p "${HOME}"/.local/share
cp -nr "${mount_point}"/usr/share/icons "${HOME}"/.local/share 2>/dev/null cp -nr "${mount_point}"/usr/share/icons "${HOME}"/.local/share 2>/dev/null
echo "Desktop files have been exported" echo "Desktop files have been exported"