Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / bin / | server ip : 104.21.89.46 your ip : 172.71.254.24 H O M E |
Filename | /usr/bin/update-mime-database |
Size | 672 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:55 |
Last modified | 11-Apr-2014 16:59 |
Last accessed | 05-Jul-2025 15:49 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh -e
# Since 0.51-2, we support dpkg triggers, so if this script
# was run from a maintainer script (postinst/postrm) and dpkg
# supports triggers, ignore it as dpkg will call the trigger
#
# Once all the maintainer scripts in the archive have stopped
# calling update-mime-database directly, we can remove this
# wrapper.
#
# See /usr/share/doc/dpkg-dev/triggers.txt.gz
if dpkg-trigger --check-supported >/dev/null 2>&1 && \
[ -n "$DPKG_RUNNING_VERSION" ] && \
[ "$1" = "/usr/share/mime" ]; then
exit 0
fi
# Otherwise, we have been manually called or there's no
# triggers support, so execute update-gconf-defaults
exec update-mime-database.real "$@"
# Since 0.51-2, we support dpkg triggers, so if this script
# was run from a maintainer script (postinst/postrm) and dpkg
# supports triggers, ignore it as dpkg will call the trigger
#
# Once all the maintainer scripts in the archive have stopped
# calling update-mime-database directly, we can remove this
# wrapper.
#
# See /usr/share/doc/dpkg-dev/triggers.txt.gz
if dpkg-trigger --check-supported >/dev/null 2>&1 && \
[ -n "$DPKG_RUNNING_VERSION" ] && \
[ "$1" = "/usr/share/mime" ]; then
exit 0
fi
# Otherwise, we have been manually called or there's no
# triggers support, so execute update-gconf-defaults
exec update-mime-database.real "$@"