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
1 changed files with 3 additions and 0 deletions

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