From b48758a5c5bac2c6c4287a0fe6249c46f1a7ffa2 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 26 Feb 2009 15:46:09 -0600
Subject: update process.py for the new pacman module and host globbing.

---
 abs/mv-core/local-website/PKGBUILD            | 2 +-
 abs/mv-core/local-website/contents/process.py | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/abs/mv-core/local-website/PKGBUILD b/abs/mv-core/local-website/PKGBUILD
index e3f2ef4..5ecee78 100755
--- a/abs/mv-core/local-website/PKGBUILD
+++ b/abs/mv-core/local-website/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=local-website
 pkgver=3
-pkgrel=76
+pkgrel=78
 pkgdesc="Local website for MythVantage "
 arch=(i686 x86_64)
 #depends=('lighttpd')
diff --git a/abs/mv-core/local-website/contents/process.py b/abs/mv-core/local-website/contents/process.py
index 6b45fd8..eb70caa 100755
--- a/abs/mv-core/local-website/contents/process.py
+++ b/abs/mv-core/local-website/contents/process.py
@@ -155,15 +155,9 @@ def go_update(myhost,update_type):
          command=cmd + update_type
 
     else:
-        #sshcmd="ssh -o StrictHostKeyChecking=no -i /data/srv/.nobody_ssh/id_dsa mythtv@"
-        #sshcmd+=myhost.strip()
-        #cmd=" sudo /usr/bin/update_system "
-        #cmd+=update_type
-        #command=sshcmd + cmd + " 2>&1 "
-        #using func now
         cmd=" call pacman update_system "
         cmd+=update_type
-        command="sudo /usr/bin/func " + myhost.strip() + " " + cmd
+        command="sudo /usr/bin/func \"" + myhost.strip() + "*\"  " + cmd
         print command
 
         #print command
-- 
cgit v0.12

