diff --git a/usr/bin/update b/usr/bin/update index 9c24225..cdcdeab 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -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.."