rpm: remove /lib/firmware/updates link

It is no longer needed and currently broke linux-firmware package
installation.
This commit is contained in:
Marek Marczykowski-Górecki 2014-05-12 00:37:22 +02:00
parent b21ee1fc42
commit fe69bba14b

View File

@ -193,9 +193,9 @@ fi
# Remove ip_forward setting from sysctl, so NM will not reset it
sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf
# Install firmware link only on system which haven't it yet
if ! [ -e /lib/firmware/updates ]; then
ln -s /lib/modules/firmware /lib/firmware/updates
# Remove old firmware updates link
if [ -L /lib/firmware/updates ]; then
rm -f /lib/firmware/updates
fi
if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf' /etc/yum.conf; then