mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Also export icons when exporting desktop files
This commit is contained in:
parent
03efe023fa
commit
fe425cbb61
1 changed files with 4 additions and 2 deletions
|
@ -15,11 +15,11 @@ if (( EUID == 0 )) && [ -z "$ALLOW_ROOT" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Conty version
|
# Conty version
|
||||||
script_version="1.22"
|
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=27087
|
script_size=27167
|
||||||
utils_size=2520686
|
utils_size=2520686
|
||||||
|
|
||||||
# Full path to the script
|
# Full path to the script
|
||||||
|
@ -844,6 +844,8 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || \
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue