termux-packages/x11-packages/desktop-file-utils/hooks/postinst.in

8 lines
121 B
Bash

#!@TERMUX_PREFIX@/bin/sh
if [ -d "@TERMUX_PREFIX@/share/applications" ]; then
update-desktop-database -q
fi
exit 0