Page MenuHomeDevCentral

locate-home
No OneTemporary

locate-home

#!/bin/sh
# -------------------------------------------------------------
# Run updatedb for $HOME directory
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/devserver/userland-home/files/dereckson/bin/locate-home
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
export FCODES="$HOME/.cache/locatedb"
if [ ! -f "$FCODES" ]; then
echo "Database doesn't exist. Run update-db home first." >&2
exit 1
fi
locate -d "$FCODES" "$@"

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 10:28 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4185405
Default Alt Text
locate-home (813 B)

Event Timeline