File user-updatedb of Package plocate

#!/bin/sh

config_file="$HOME/.config/plocate/updatedb.conf"
if [ ! -f "$config_file" ]; then
    config_file=""
fi

/usr/bin/mkdir -p "$HOME/.local/share/plocate"
/usr/sbin/updatedb --output="$HOME/.local/share/plocate/plocate.db" ${config_file:+--config-file="$config_file"} "$@"
openSUSE Build Service is sponsored by