sys-apps/openrc: fix upgrade handling

This removes redundant code from 0.45.x. We don't need the downgrade
logic here, just the upgrade logic.

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2022-06-08 14:36:23 -05:00
parent f9e43f12b9
commit 97276a847b

View File

@@ -160,11 +160,5 @@ pkg_postinst() {
rc-update add seedrng boot
fi
fi
if ver_test $v -gt 0.45; then
if rc-update show boot | grep -q seedrng; then
rc-update del seedrng boot
rc-update add urandom boot
fi
fi
done
}