mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
7d2ce5f0d9
%ci:no-build
15 lines
309 B
Bash
Executable File
15 lines
309 B
Bash
Executable File
#!@TERMUX_PREFIX@/bin/sh
|
|
set -e
|
|
PREFIX="@TERMUX_PREFIX@"
|
|
|
|
if [ "${1}" = "triggered" ]; then
|
|
if [ -x "${PREFIX}/bin/update-mime-database" ]; then
|
|
update-mime-database "${PREFIX}/share/mime"
|
|
fi
|
|
exit 0
|
|
fi
|
|
|
|
if [ -x "${PREFIX}/bin/update-mime-database" ]; then
|
|
update-mime-database "${PREFIX}/share/mime"
|
|
fi
|