mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-17 11:54:33 +01:00
Merge aa8693e424ceb3e31ba5e01568522f1785643995 into 3278173ef810935e07808deed58783c1bc7ca4cf
This commit is contained in:
commit
78c01a8356
5
build/linux/dist/install.sh
vendored
5
build/linux/dist/install.sh
vendored
@ -205,6 +205,11 @@ simple_uninstall_f() {
|
|||||||
# Update desktop file and mime databases (if possible)
|
# Update desktop file and mime databases (if possible)
|
||||||
updatedbs_f() {
|
updatedbs_f() {
|
||||||
|
|
||||||
|
if [ ! -f "${HOME}/root/.config/mimeapps.list" ]; then
|
||||||
|
touch mimeapps.list
|
||||||
|
chmod +x mimeapps.list
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d "${HOME}/.local/share/applications" ]; then
|
if [ -d "${HOME}/.local/share/applications" ]; then
|
||||||
if command -v update-desktop-database > /dev/null; then
|
if command -v update-desktop-database > /dev/null; then
|
||||||
update-desktop-database "${HOME}/.local/share/applications"
|
update-desktop-database "${HOME}/.local/share/applications"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user