update packages just in case the cache is old

This commit is contained in:
Pratham Patel 2023-10-04 15:31:54 +05:30
parent 14b500afb3
commit edac37608b
No known key found for this signature in database

View File

@ -48,6 +48,10 @@ if dnf list installed | grep "kernel-next-tfg\|kernel-rc-tfg" > /dev/null; then
fi fi
fi fi
# upgrade all packages for the user's happy smile
dnf clean expire-cache
dnf upgrade -y
# Remove the temporary 'resolv.conf' file # Remove the temporary 'resolv.conf' file
rm -v -f /etc/resolv.conf rm -v -f /etc/resolv.conf