Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:G02
x11-video-nvidiaG02
fetch.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fetch.sh of Package x11-video-nvidiaG02
#!/bin/sh driver_version=$(grep -i ^version: nvidia-gfxG0?.spec |awk -F" " '{print $2}') for arch in x86 x86_64; do file=NVIDIA-Linux-${arch}-${driver_version}.run if [ ! -s ${file} ]; then echo -n "Dowloading ${file} ... " curl -s -o $file ftp://download.nvidia.com/XFree86/Linux-${arch}/${driver_version}/$file echo "done" else echo -n "Checking ${file}: " sh ${file} --check if [ $? -ne 0 ]; then rm ${file} echo -n "Dowloading ${file} ... " curl -s -o $file ftp://download.nvidia.com/XFree86/Linux-${arch}/${driver_version}/$file echo "done" fi fi done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor