blob: 5e38ef059397e48bd04afce74a79a1d6a08d2b77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
cd /opt/openslx/plugin-repo/xserver
# Ubuntu gfx-install.sh skript
DISTRO=$(lsb_release -i)
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
./ubuntu-8.10-gfx-install.sh ati
else
./ubuntu-gfx-install.sh ati
fi
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
|