Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#1
by Hamza » 12 Oct 2012, 17:36
Here is a script to download latest version of ATI (fglrx) driver available on Porteus server depending on running architecture (cpu)
Code: Select all
#!/bin/bash
# Easy ATI (fglrx) driver downloader
URL="ponce.cc/porteus"
if [ $(uname -m) != "x86_64" ]; then ARCH="i486"; else ARCH="x86_64"; fi
wget -O /tmp/index.html "$URL/$ARCH/current/drivers"
MN=$(grep "ati-fglrx" /tmp/index.html | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | sort | uniq)
wget -O "$HOME/$MN" "$URL/$ARCH/current/drivers/$MN"
Can be ran from every users. No root permissions needed.
NjVFQzY2Rg==
Hamza