mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add omarchy-doctor
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user