nvidia: get rid of INSTALL/REMOVE scripts, unnecessary.

This commit is contained in:
Juan RP 2019-12-07 14:15:17 +01:00
parent 7b3be8a870
commit bf514fb3c9
2 changed files with 0 additions and 22 deletions

View File

@ -1,13 +0,0 @@
case "${ACTION}" in
post)
if [ "${ARCH}" = "x86_64" ]; then
# Regenerate initramfs.
echo "Regenerating initramfs, please wait..."
dracut -f -q --regenerate-all
else
echo "Nvidia has dropped support for 32-bit kernels.\n"
echo "Please consider installing the nvidia390 package as an alternative.\n"
echo "This package is now only useful if you're using a x86_64 kernel.\n"
fi
;;
esac

View File

@ -1,9 +0,0 @@
# Regenerate initramfs.
case ${ACTION} in
purge)
if [ "${ARCH}" = "x86_64" ]; then
echo "Regenerating initramfs, please wait..."
dracut -f -q --regenerate-all
fi
;;
esac