@x11-module-rebuild set added
This commit is contained in:
parent
7b39bc5f26
commit
1f1d5f3ecf
|
@ -384,13 +384,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: Xorg server upgrades ======="
|
echo "======= STAGE $STAGE: Xorg server upgrades ======="
|
||||||
if [ -f /etc/portage/need_upgrade_xorg_input_drivers ]; then
|
if [ -f /etc/portage/need_upgrade_xorg_input_drivers ]; then
|
||||||
echo '------- Upgrading Xorg input drivers -------'
|
echo '------- Upgrading Xorg input drivers -------'
|
||||||
xorg_packages=`qlist -IC xf86-input xorg-drivers xf86-input-evdev xf86-input-wacom`
|
emerge -1qv @x11-module-rebuild `qlist -IC xf86-input xorg-drivers`
|
||||||
if [ "" != "$xorg_packages" ]; then
|
[ 0 -ne $? ] && echo "Stage $STAGE: Xorg input drivers upgrade failed ;-( =======" && exit $STAGE
|
||||||
emerge -1qv $xorg_packages
|
rm /etc/portage/need_upgrade_xorg_input_drivers
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: Xorg input drivers upgrade failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_upgrade_xorg_input_drivers ;-( =======" && 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
|
|
||||||
else
|
else
|
||||||
echo '------- No Xorg server upgrades! -------'
|
echo '------- No Xorg server upgrades! -------'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue