termux-packages/x11-packages/desktop-file-utils/postinst

11 lines
201 B
Plaintext
Raw Normal View History

2018-09-10 00:42:26 +02:00
#!/data/data/com.termux/files/usr/bin/sh
set -e
if [ -d "/data/data/com.termux/files/usr/share/applications" ]; then
update-desktop-database -q
fi
if [ "${1}" = "triggered" ]; then
exit 0
fi