Add omarchy-doctor

This commit is contained in:
Ryan Hughes
2025-09-28 00:41:37 -04:00
parent 0b172dbef1
commit 57a977a51d
40 changed files with 1032 additions and 356 deletions

View File

@@ -1,2 +1,12 @@
# Update localdb so that locate will find everything installed
sudo updatedb
OMARCHY_DESCRIPTION="LocalDB"
omarchy_install() {
# Update localdb so that locate will find everything installed
sudo updatedb
}
omarchy_verify() {
[[ -f /var/lib/mlocate/mlocate.db ]] || [[ -f /var/lib/plocate/plocate.db ]] || add_error "Locate database missing"
command -v locate >/dev/null 2>&1 || add_error "Locate command not available"
}