Guest User

Untitled

a guest
Sep 6th, 2012
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.63 KB | None | 0 0
  1. #!/bin/bash
  2. case $1 in
  3. libva ) curl -s --url http://www.splitted-desktop.com/~gbeauchesne/ | grep "<p>" | cut -d\> -f3 | head -n4;;
  4. nvidia ) curl -s --url ftp://download.nvidia.com/XFree86/Linux-x86/ | awk '// {print $9}' | sort -nk1 | tail -n1;;
  5. 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}';;
  6. 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;;
  7. 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;;
  8. turbo ) curl -s --url http://sourceforge.net/projects/libjpeg-turbo/ | sed -n 's/^.*Download\(.*\)\.tar.*.*$/\1/p' | cut -d\- -f3;;
  9. 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;;
  10. imagemagic ) curl -s --url http://www.imagemagick.org/download/ | sed -n 's/^.*ImageMagick-\(.*\)\.tar.xz.*$/\1/p' | tail -1 | tr "-" ".";;
  11. 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}';;
  12. 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}';;
  13. X ) curl -s --url http://cgit.freedesktop.org/xorg/xserver/ | sed -n 's/^.*xorg-server-\(.*\)\.zip.*$/\1/p' | head -1;;
  14. #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;;
  15. chromium ) curl -s --url http://commondatastorage.googleapis.com/chromium-browser-official | tr "<" "\n" | sed -n 's/^.*chromium-\(.*\).tar.bz2.*$/\1/p;' | tail -n1;;
  16. appmenu-gtk ) curl -s --url https://launchpad.net/appmenu-gtk | grep "Latest version is" | cut -d" " -f8;;
  17. appmenu-qt ) curl -s --url https://launchpad.net/appmenu-qt | grep "Latest version is" | cut -d" " -f8;;
  18. scroll ) curl -s --url https://launchpad.net/ayatana-scrollbar | grep "Latest version is" | cut -d" " -f8;;
  19. dbusmenu ) curl -s --url https://launchpad.net/dbusmenu | grep "Latest version is" | cut -d" " -f8;;
  20. dbusmenu-qt ) curl -s --url https://launchpad.net/libdbusmenu-qt | grep "Latest version is" | cut -d" " -f8;;
  21. 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
  22. esac
Advertisement
Add Comment
Please, Sign In to add comment