#!/bin/bash # Post-removal script for .deb and .rpm packages # Update desktop database after removal if command -v update-desktop-database &> /dev/null; then update-desktop-database -q /usr/share/applications || true fi # Update icon cache if command -v gtk-update-icon-cache &> /dev/null; then gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true fi exit 0