Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- case $1 in
- libva ) curl -s --url http://www.splitted-desktop.com/~gbeauchesne/ | grep "<p>" | cut -d\> -f3 | head -n4;;
- nvidia ) curl -s --url ftp://download.nvidia.com/XFree86/Linux-x86/ | awk '// {print $9}' | sort -nk1 | tail -n1;;
- nvnews ) curl -s --url http://www.nvidia.com/object/unix.html | grep "Linux x86/IA32" | sed -e 's/>/ /g' -e 's/</ /g' | awk '{print $10}';;
- nvidia-beta ) curl -s --url http://www.nvnews.net/vbulletin/showthread.php?t=122606 | grep "Current prerelease" | sed -e 's/>/ /g' -e 's/</ /g' | awk '{print $6}'| head -n1;;
- nvidia-release ) curl -s --url http://www.nvnews.net/vbulletin/showthread.php?t=122606 | grep "Current official release" | sed -e 's/>/ /g' -e 's/</ /g' | awk '{print $7}'| head -n1;;
- turbo ) curl -s --url http://sourceforge.net/projects/libjpeg-turbo/ | sed -n 's/^.*Download\(.*\)\.tar.*.*$/\1/p' | cut -d\- -f3;;
- deadbeef ) curl -s --url http://sourceforge.net/projects/deadbeef/files/ | grep -v static | sed -n 's/^.*Click to download deadbeef-\(.*\)\.tar.*.*$/\1/p' | head -1;;
- imagemagic ) curl -s --url http://www.imagemagick.org/download/ | sed -n 's/^.*ImageMagick-\(.*\)\.tar.xz.*$/\1/p' | tail -1 | tr "-" ".";;
- qtcurve-qt4 ) curl -s --url http://kde-look.org/content/show.php?content=40492 | grep Source | tr "<" "\n" | tr -d ")" | awk '/KDE 4/ {print $5}';;
- gtk-engines-qtcurve ) curl -s --url http://kde-look.org/content/show.php?content=40492 | grep Source | tr "<" "\n" | tr -d ")"| awk '/Gtk 2/ {print $5}';;
- X ) curl -s --url http://cgit.freedesktop.org/xorg/xserver/ | sed -n 's/^.*xorg-server-\(.*\)\.zip.*$/\1/p' | head -1;;
- #chromium ) curl -s --url http://gsdview.appspot.com/chromium-browser-official/ | sed -n 's/^.*chromium-\(.*\).tar.bz2.*$/\1/p;' | grep -v v8 | sort -V |tail -1;;
- chromium ) curl -s --url http://commondatastorage.googleapis.com/chromium-browser-official | tr "<" "\n" | sed -n 's/^.*chromium-\(.*\).tar.bz2.*$/\1/p;' | tail -n1;;
- appmenu-gtk ) curl -s --url https://launchpad.net/appmenu-gtk | grep "Latest version is" | cut -d" " -f8;;
- appmenu-qt ) curl -s --url https://launchpad.net/appmenu-qt | grep "Latest version is" | cut -d" " -f8;;
- scroll ) curl -s --url https://launchpad.net/ayatana-scrollbar | grep "Latest version is" | cut -d" " -f8;;
- dbusmenu ) curl -s --url https://launchpad.net/dbusmenu | grep "Latest version is" | cut -d" " -f8;;
- dbusmenu-qt ) curl -s --url https://launchpad.net/libdbusmenu-qt | grep "Latest version is" | cut -d" " -f8;;
- sofa ) curl -s --url http://sourceforge.net/projects/sofastatistics/files/sofastatistics/ | grep -A2 "Looking for the latest version" | sed -n 's/^.*Download\(.*\)\.tar.*.*$/\1/p' | cut -d\- -f2
- esac
Advertisement
Add Comment
Please, Sign In to add comment