2018-09-10 00:42:26 +02:00
|
|
|
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
set -e
|
|
|
|
PREFIX="/data/data/com.termux/files/usr"
|
|
|
|
|
|
|
|
if [ "${1}" = "triggered" ]; then
|
2020-12-08 12:21:22 +01:00
|
|
|
if [ -x "${PREFIX}/bin/update-mime-database" ]; then
|
|
|
|
update-mime-database "${PREFIX}/share/mime"
|
|
|
|
fi
|
|
|
|
exit 0
|
2018-09-10 00:42:26 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -x "${PREFIX}/bin/update-mime-database" ]; then
|
2020-12-08 12:21:22 +01:00
|
|
|
update-mime-database "${PREFIX}/share/mime"
|
2018-09-10 00:42:26 +02:00
|
|
|
fi
|