diff options
Diffstat (limited to 'os-plugins/plugins/xserver/files/ati-install.sh')
-rwxr-xr-x | os-plugins/plugins/xserver/files/ati-install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os-plugins/plugins/xserver/files/ati-install.sh b/os-plugins/plugins/xserver/files/ati-install.sh index 67f261b8..9c5a0139 100755 --- a/os-plugins/plugins/xserver/files/ati-install.sh +++ b/os-plugins/plugins/xserver/files/ati-install.sh @@ -8,8 +8,8 @@ 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" = $(echo ${DISTRO} | awk '{print $2}' ) ]; then + echo "* Using Ubuntu packages to install ati modules and libs" + if [ "8.10" = "$(echo ${RELEASE} | awk '{print $2}' )" ]; then ./ubuntu-8.10-gfx-install.sh ati else ./ubuntu-gfx-install.sh ati @@ -21,7 +21,7 @@ fi # SUSE gfx-install.sh skript if [ "1" -eq "$(lsb_release -i | grep 'SUSE' | wc -l)" ]; then # we have SuSE - run ubuntu-gfx-install - echo "* Using SuSE packages to install modules and libs" + echo "* Using SuSE packages to install ati modules and libs" ./suse-gfx-install.sh ati exit fi |