1
0
Fork 0
mirror of synced 2024-11-22 10:05:37 -05:00

add pacman files update to last

This commit is contained in:
librewish 2021-09-24 11:06:10 +05:30
parent 2b77bb7f53
commit 5a59260464

View file

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