From 28edc1561e098362b1900617988a8c530eec385b Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 27 Feb 2010 13:02:06 -0800
Subject: linhes-scripts:updated upgrade_to_0.22.sh so it removes legacy
vdpinfo in proper order.
---
abs/core-testing/linhes-scripts/PKGBUILD | 2 +-
abs/core-testing/linhes-scripts/upgrade_to_0.22.sh | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/abs/core-testing/linhes-scripts/PKGBUILD b/abs/core-testing/linhes-scripts/PKGBUILD
index 2424064..8d4e879 100644
--- a/abs/core-testing/linhes-scripts/PKGBUILD
+++ b/abs/core-testing/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=linhes-scripts
pkgver=1
-pkgrel=47
+pkgrel=48
pkgdesc="Various scripts that help to make LinHES, LinHES."
arch=('i686' 'x86_64')
license=('GPL2')
diff --git a/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh b/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh
index bedb509..a90b04e 100644
--- a/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh
+++ b/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh
@@ -42,6 +42,14 @@ if pacman -Qs v4l-dvb &>/dev/null
pacman -S kernel26 --noconfirm &>/dev/null
fi
echo "Checking for VDPAU packages and upgrading if needed."
+if pacman -Qs vdpinfo-71xx &>/dev/null
+ then
+ pacman -Rd vdpinfo-71xx &>/dev/null
+fi
+if pacman -Qs vdpinfo-96xx &>/dev/null
+ then
+ pacman -Rd vdpinfo-96xx &>/dev/null
+fi
if pacman -Qs vdpinfo &>/dev/null
then
pacman -Rd vdpinfo &>/dev/null && pacman -S --noconfirm nvidia &>/dev/null && pacman -S --noconfirm vdpauinfo &>/dev/null
--
cgit v0.12