summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/xserver/files/ati-install.sh
blob: 6795988322f369fbf31cc6e094491d55a2b9837d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
         
 

                                   








                                                                





                                                              
  
                           
#!/bin/sh

cd /opt/openslx/plugin-repo/xserver

# Ubuntu gfx-install.sh skript
if [ "1" -eq "$(lsb_release -i | grep 'Ubuntu' | wc -l)" ]; then
  # we have Ubuntu - run ubuntu-gfx-install
  echo "* Using Ubuntu packages to install modules and libs"
  ./ubuntu-gfx-install.sh ati
  exit
fi
# End ubuntu gfx-install.sh

# 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"
  ./suse-gfx-install.sh ati
  exit
fi
# End ubuntu gfx-install.sh