install: this seems like a great place for updatedb

This commit is contained in:
Aminda Suomalainen 2024-06-26 18:07:07 +03:00
parent 038ea8cc9b
commit 77f8183751
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -64,6 +64,9 @@ if [ "$(id -u)" == "0" ]; then
mkdir -vp /etc/apt/apt.conf.d/
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
if hash updatedb 2> /dev/null; then
(updatedb &)
fi
fi
if [ -f "$MIKAELA_GREP" ]; then