From 1f1d5f3ecf43b0dea650129dd782b407d8f11d16 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 11 Jan 2013 12:22:23 +0400 Subject: [PATCH] @x11-module-rebuild set added --- sbin/gentoo-upgrade.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sbin/gentoo-upgrade.sh b/sbin/gentoo-upgrade.sh index abc4bfa..3f2e689 100755 --- a/sbin/gentoo-upgrade.sh +++ b/sbin/gentoo-upgrade.sh @@ -384,13 +384,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then echo "======= STAGE $STAGE: Xorg server upgrades =======" if [ -f /etc/portage/need_upgrade_xorg_input_drivers ]; then echo '------- Upgrading Xorg input drivers -------' - xorg_packages=`qlist -IC xf86-input xorg-drivers xf86-input-evdev xf86-input-wacom` - if [ "" != "$xorg_packages" ]; then - emerge -1qv $xorg_packages - [ 0 -ne $? ] && echo "Stage $STAGE: Xorg input drivers upgrade failed ;-( =======" && exit $STAGE - rm /etc/portage/need_upgrade_xorg_input_drivers - [ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_upgrade_xorg_input_drivers ;-( =======" && exit $STAGE - fi + emerge -1qv @x11-module-rebuild `qlist -IC xf86-input xorg-drivers` + [ 0 -ne $? ] && echo "Stage $STAGE: Xorg input drivers upgrade failed ;-( =======" && exit $STAGE + rm /etc/portage/need_upgrade_xorg_input_drivers + [ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_upgrade_xorg_input_drivers ;-( =======" && exit $STAGE else echo '------- No Xorg server upgrades! -------' fi