post_install() { # Link to the binary ln -sf '/opt/Guilded/guilded' '/usr/bin/guilded' update-mime-database /usr/share/mime || true update-desktop-database /usr/share/applications || true } post_remove() { # Delete the link to the binary rm -f '/usr/bin/guilded' }