mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-02 00:50:23 +00:00
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
|