curl: updated to 7.19.0 and enabled ldaps now.
[pkgfs.git] / helper-templates / update-mimedb.sh
blobcebc0dda903d226419b5fcd3c51ca02e82b66267
2 # This helper updates shared-mime-info's database when a template
3 # requests this operation.
5 updatemimedb_cmd="$PKGFS_MASTERDIR/bin/update-mime-database"
6 updatemimedb_dir="$PKGFS_MASTERDIR/share/mime"
8 if [ -d "$PKGFS_MASTERDIR/share/mime" ]; then
9 $updatemimedb_cmd $updatemimedb_dir >/dev/null && \
10 echo "=> Updated shared-mime-info database."
13 unset updatemimedb_cmd updatemimedb_dir