| 1 | #!/bin/sh |
| 2 | # Refresh desktop integration after both fresh installs and upgrades. Debian's |
| 3 | # package triggers usually do this too, but an explicit best-effort refresh |
| 4 | # repairs stale blank icons on desktops that kept an older cache. |
| 5 | |
| 6 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
| 7 | /usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor || true |
| 8 | fi |
| 9 | |
| 10 | if [ -x /usr/bin/update-desktop-database ]; then |
| 11 | /usr/bin/update-desktop-database --quiet /usr/share/applications || true |
| 12 | fi |
| 13 | |
| 14 | exit 0 |
| 15 |