mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-28 09:24:14 +01:00
Merge aa8693e424
into 3278173ef8
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)
|
||||
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 command -v update-desktop-database > /dev/null; then
|
||||
update-desktop-database "${HOME}/.local/share/applications"
|
||||
|
Loading…
Reference in New Issue
Block a user