dotfiles/multimedia/.config/sh/env.d/beets-ensure-library-dir.sh

5 lines
204 B
Bash
Raw Normal View History

2022-12-30 13:48:11 +00:00
#!/usr/bin/env sh
# Ensure the directory for beets library exists or it errors out on startup
[ -e "${XDG_DATA_HOME:-$HOME/.local/share}/beets" ] || mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/beets"