add pacman files update to last

This commit is contained in:
librewish 2021-09-24 11:06:10 +05:30
parent 2b77bb7f53
commit 5a59260464
1 changed files with 8 additions and 8 deletions

View File

@ -30,14 +30,6 @@ fi
echo ""
# Update pacman Files database
echo "Checking pacman files database update.."
sudo pacman -Fy
echo ""
echo "pacman files database updated!"
echo ""
# Check for keyring update & update as needed
echo "Checking for keyring update before starting full system update.."
if pacman -Qq blackarch-keyring &> /dev/null; then
@ -47,6 +39,14 @@ else
fi
echo ""
# Update pacman Files database
echo "Checking pacman files database update.."
sudo pacman -Fy
echo ""
echo "pacman files database updated!"
echo ""
# Update mlocate index
if [ -x /usr/bin/locate ]; then
echo "Updating mlocate index.."