diff options
Diffstat (limited to 'kde4-support/FUNCTIONS')
-rwxr-xr-x | kde4-support/FUNCTIONS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kde4-support/FUNCTIONS b/kde4-support/FUNCTIONS index 0503e680eb..b7fb42d070 100755 --- a/kde4-support/FUNCTIONS +++ b/kde4-support/FUNCTIONS @@ -24,7 +24,9 @@ default_build_x() { # so that the mime databases get updated update_databases() { - update-mime-database $INSTALL_ROOT/usr/share/mime/ + if [[ -x /usr/bin/update-mime-database ]]; then + update-mime-database $INSTALL_ROOT/usr/share/mime/ + fi } default_final() { |