2022-04-05 06:48:20 +02:00
|
|
|
#!@TERMUX_PREFIX@/bin/sh
|
2018-09-10 00:42:26 +02:00
|
|
|
set -e
|
2022-04-05 06:48:20 +02:00
|
|
|
PREFIX="@TERMUX_PREFIX@"
|
2018-09-10 00:42:26 +02:00
|
|
|
|
|
|
|
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
|