add pacman files update to last
This commit is contained in:
parent
2b77bb7f53
commit
5a59260464
1 changed files with 8 additions and 8 deletions
|
@ -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.."
|
||||||
|
|
Loading…
Reference in a new issue