Skip to content

Commit

Permalink
(Issue MrMEEE#109) We should check on the actual installed files, not…
Browse files Browse the repository at this point in the history
… the files from the repo
  • Loading branch information
paulvriens committed May 23, 2011
1 parent 2718562 commit 1bd60d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ echo
cp install-files/xorg.conf.intel /etc/X11/xorg.conf
cp install-files/xorg.conf.nvidia /etc/X11/

if [ ! -f install-files/bumblebee-enablecard ]; then
if [ ! -f /usr/local/bin/bumblebee-enablecard ]; then
# Not installed
cp install-files/bumblebee-enablecard /usr/local/bin/
else
Expand All @@ -310,7 +310,7 @@ else
echo
fi

if [ ! -f install-files/bumblebee-disablecard ]; then
if [ ! -f /usr/local/bin/bumblebee-disablecard ]; then
# Not installed
cp install-files/bumblebee-disablecard /usr/local/bin/
else
Expand Down

0 comments on commit 1bd60d4

Please sign in to comment.