From 3f521bf0843f3b605891c7b99845787cce45f2db Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 23 Nov 2010 03:21:45 +0000
Subject: linhes-scripts: fix python shebangs and bump pkgver to 7 for LinHES 7

---
 abs/core/linhes-scripts/PKGBUILD              | 25 ++++++++++++-------------
 abs/core/linhes-scripts/mythwelcome-config.py |  2 +-
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index 07ddbc9..ee6b036 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -2,8 +2,8 @@
 # Maintainer: Cecil Watson<knoppmyth@gmail.com>
 
 pkgname=linhes-scripts
-pkgver=1
-pkgrel=78
+pkgver=7
+pkgrel=1
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -46,17 +46,16 @@ qip7100-cc.sh
 )
 
 build() {
-  cd $startdir/src
-  mkdir -p $startdir/pkg/usr/LH/bin
-  install -D -m755 myt* 770* *.sh imp* shoo* *commflag*sh mplayer* vdpau* screen* linhes_* install_hulu.sh $startdir/pkg/usr/LH/bin
-  mkdir -p $startdir/pkg/etc/sv/pause-mythcommflag/supervise
-  cp run-pause-mythcommflag $startdir/pkg/etc/sv/pause-mythcommflag/run
-  mkdir -p $startdir/pkg/etc/sv/limit-mythcommflag/supervise
-  cp run-limit-mythcommflag $startdir/pkg/etc/sv/limit-mythcommflag/run
-  mkdir -p $startdir/pkg/etc/logrotate.d/
-  cp pause_mythcommflag $startdir/pkg/etc/logrotate.d/
+  cd ${srcdir}
+  install -d ${pkgdir}/usr/LH/bin
+  install -D -m755 myth2* *.sh *.pl *.py vdpau* run-* pause_* ${pkgdir}/usr/LH/bin/
+  mkdir -p ${pkgdir}/etc/sv/pause-mythcommflag/supervise
+  cp run-pause-mythcommflag ${pkgdir}/etc/sv/pause-mythcommflag/run
+  mkdir -p ${pkgdir}/etc/sv/limit-mythcommflag/supervise
+  cp run-limit-mythcommflag ${pkgdir}/etc/sv/limit-mythcommflag/run
+  mkdir -p ${pkgdir}/etc/logrotate.d/
+  cp pause_mythcommflag ${pkgdir}/etc/logrotate.d/
 }
-
 md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          '9a2181cdc0bc9cc8b42101f19620def8'
          '9ae2cd7a0c42d57ad8b5f515d7d60196'
@@ -70,7 +69,7 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          'ac2a4a6b4100f4d7bfb9ecd9356c8c6e'
          'd2b475821f902c5e081e7da43a35e6ac'
          '95c092f67036a361ef7a57436f44332e'
-         'a87e7394bfb3fcc5c2419a2f9ae9b9aa'
+         '565ebca7b88bcd083322b7324f8e56e5'
          '3b776bbff68906ddc2f62b7e0dde3fe4'
          '15f3143d2b1369da431e4268029aba40'
          '3d0adf26280cde55a0c47188fff34826'
diff --git a/abs/core/linhes-scripts/mythwelcome-config.py b/abs/core/linhes-scripts/mythwelcome-config.py
index c7bf10b..a8a8960 100755
--- a/abs/core/linhes-scripts/mythwelcome-config.py
+++ b/abs/core/linhes-scripts/mythwelcome-config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # This script will configure the myth db to allow MythWelcome to wake and shutdown the system.
 
-- 
cgit v0.12

