14 lines
322 B
Cheetah
14 lines
322 B
Cheetah
#!/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."
|