diff options
author | Bastian Wissler | 2009-01-19 17:42:46 +0100 |
---|---|---|
committer | Bastian Wissler | 2009-01-19 17:42:46 +0100 |
commit | 301ddf7d5267af9ad39c9d65e639baaf0e21d019 (patch) | |
tree | 9e6e9f043f0a9be2e8f5b8ab0ae5ac36d60cb787 | |
parent | xserver: (diff) | |
download | core-301ddf7d5267af9ad39c9d65e639baaf0e21d019.tar.gz core-301ddf7d5267af9ad39c9d65e639baaf0e21d019.tar.xz core-301ddf7d5267af9ad39c9d65e639baaf0e21d019.zip |
xserver plugin:
* Bash programming bug fixed (has been a long time since...)
- Diese und die folgenden Zeilen werden ignoriert --
M xserver/files/nvidia-install.sh
M xserver/files/ati-install.sh
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2501 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-x | os-plugins/plugins/xserver/files/ati-install.sh | 2 | ||||
-rwxr-xr-x | os-plugins/plugins/xserver/files/nvidia-install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/xserver/files/ati-install.sh b/os-plugins/plugins/xserver/files/ati-install.sh index 5e38ef05..67f261b8 100755 --- a/os-plugins/plugins/xserver/files/ati-install.sh +++ b/os-plugins/plugins/xserver/files/ati-install.sh @@ -9,7 +9,7 @@ RELEASE=$(lsb_release -r) if [ "1" -eq "$(echo ${DISTRO} | grep 'Ubuntu' | wc -l)" ]; then # we have Ubuntu - run ubuntu-gfx-install echo "* Using Ubuntu packages to install modules and libs" - if [ "8.10" -eq "$(echo ${DISTRO} | awk '{print $2}' )" ]; then + if [ "8.10" = $(echo ${DISTRO} | awk '{print $2}' ) ]; then ./ubuntu-8.10-gfx-install.sh ati else ./ubuntu-gfx-install.sh ati diff --git a/os-plugins/plugins/xserver/files/nvidia-install.sh b/os-plugins/plugins/xserver/files/nvidia-install.sh index 2b603760..7e52cea6 100755 --- a/os-plugins/plugins/xserver/files/nvidia-install.sh +++ b/os-plugins/plugins/xserver/files/nvidia-install.sh @@ -20,7 +20,7 @@ cd ${PLUGIN_PATH} if [ "1" -eq "$(echo ${DISTRO} | grep 'Ubuntu' | wc -l)" ]; then # we have Ubuntu - run ubuntu-gfx-install echo "* Using Ubuntu packages to install modules and libs" - if [ "8.10" -eq "$(echo ${RELEASE}| awk '{print $2}')" ]; then + if [ "8.10" = $(echo ${RELEASE}| awk '{print $2}') ]; then ./ubuntu-8.10-gfx-install.sh nvidia else ./ubuntu-gfx-install.sh nvidia |