mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
Create ~/.local/share if missing
This commit is contained in:
parent
fe425cbb61
commit
7869c2dd69
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue