[mime] Fix osu not being able to open files

This commit is contained in:
aloslider committed 2026-07-10 05:22:48 +03:00
1 parent 007b60f04a
commit 6cbf7a213a
3 files changed
+17 -5

No files matched your search

@@ -0,0 +1,13 @@
#!/bin/sh
set -euo pipefail
echo "Updating XDG MIME and desktop databases..."
if ! update-mime-database "$HOME/.local/share/mime"; then
echo "warning: update-mime-database failed"
fi
if ! update-desktop-database "$HOME/.local/share/applications"; then
echo "warning: update-desktop-database failed"
fi
echo "Done."