Skip to content

Commit

Permalink
Merge pull request MrMEEE#564 from Ximi1970/master
Browse files Browse the repository at this point in the history
Fix whiptail in bumblebee-configuration, remove bumblebee-check.opensuse
  • Loading branch information
Lekensteyn committed Aug 4, 2011
2 parents 55fdc3f + 90f912d commit d7d30a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 190 deletions.
175 changes: 0 additions & 175 deletions install-files/bumblebee-check.opensuse

This file was deleted.

4 changes: 2 additions & 2 deletions install-files/bumblebee-configuration 100644 → 100755
Expand Up @@ -68,8 +68,8 @@ NVIDIABUSIDCUT=`grep BusID /etc/X11/xorg.conf.nvidia | sed -e "s/[ \t]*BusID[ \t

if [ -f "$DEFAULT_FILE" ] ; then
whiptail --yesno \
"Bumblebee Configuration.\n\n"\
"Do you really want to reconfigure bumblebee?" $LINES $COLUMNS || exit 0
"Bumblebee Configuration.\n\n"\
"Do you really want to reconfigure bumblebee?" $LINES $COLUMNS || exit 0
else
# -f to prevent error messages should the file not exist
rm -f "$DEFAULT_FILE"
Expand Down
13 changes: 0 additions & 13 deletions install-files/bumblebee-uninstall
Expand Up @@ -132,19 +132,6 @@ elif [ $DISTRO = OPENSUSE ]; then
/usr/local/bin/bumblebee-enablecard
fi

# FOUND=`rpm -qa|grep x11-video-nvidia`
# if [ "$FOUND" != "" ] || ( [ -d /usr/X11R6/lib-nvidia ] && [ ! -d /usr/X11R6/nvidia ] ) ; then
# if [ -f /usr/local/bin/bumblebee-check ] ; then
#
# Cleanup 3D hack for the repository
#
# Do not cleanup. It will kill the Intel 3D and put the Intel X server image upside down
# if the nVidia driver is not removed.
#
# /usr/local/bin/bumblebee-check -restore
# fi
# fi

if [ -f /usr/bin/nvidia-uninstall ] ; then

echo "Uninstalling nVidia package"
Expand Down

0 comments on commit d7d30a6

Please sign in to comment.