Skip to content

Commit

Permalink
fix amdgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
snuglinux committed Oct 26, 2018
1 parent a0de859 commit 8102d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ARCH/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=install-snuglinux
pkgver=0.0.7
pkgver=0.0.11
pkgrel=1
pkgdesc="Console script to install and configure distribution snuglinux"
arch=('any')
Expand Down
10 changes: 4 additions & 6 deletions install-video.func
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ install_video_ati(){

check_amdgpu
if [ "$?" = 1 ]; then
ARRAY="012"
ARRAY = "012"
CHECK_AMDGPU = "yes"
else
ARRAY="01"
ARRAY = "01"
fi
show_message SPECIFY_VIDEO_DRIVER
show_message 0_DO_NOT_INSTALL
Expand Down Expand Up @@ -75,10 +76,7 @@ install_video_ati(){
if ! [ -d /mnt/etc/X11/xorg.conf.d ]; then
mkdir /mnt/etc/X11/xorg.conf.d
fi
echo 'Section "Device"
Identifier "AMD"
Driver "amdgpu"
EndSection' >> /mnt/etc/X11/xorg.conf.d/20-amdgpu.conf
cp /mnt/usr/share/X11/xorg.conf.d/10-amdgpu.conf /mnt/etc/X11/xorg.conf.d/10-amdgpu.conf
return 1
# yes
fi
Expand Down

0 comments on commit 8102d9b

Please sign in to comment.