diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/MythVantage-system/update_system | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/MythVantage-system/update_system')
-rwxr-xr-x | abs/mv-core/MythVantage-system/update_system | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/abs/mv-core/MythVantage-system/update_system b/abs/mv-core/MythVantage-system/update_system deleted file mode 100755 index ab79d7c..0000000 --- a/abs/mv-core/MythVantage-system/update_system +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -echo "##################################################################################" -echo "Starting update" -. /etc/profile - -if [ x$1 = x ] -then - . /etc/systemconfig -else -Hostupdateplan=$1 -fi - - -case $Hostupdateplan in - "Myth_only") - echo "updating myth packages" - postfix=`cat $INSTALL_DIR/usr/local/share/mythtv/.releasetype` - for mythl in mythphone mytharchive mythbrowser mythnews mythgame mythflix mythweather mythcontrols mythgallery mythmovietime mythmusic mythsmolt mythvideo mythweb mythtv - do - mythlist="$mythlist $mythl$postfix" - done - - pacman -Sy - list=`pacman -Qu $pkg |grep Targets` - for pkg in MythVantage-system MythVantage-config $mythlist - do - echo $list|grep -q $pkg - if [ $? = 0 ] - then - echo "Updating $pkg" - pacman --noconfirm -S $pkg - else - echo "$pkg is up to date" - fi - done - ;; - "All") - echo "updating ALL packages" - pacman -Sy - pacman --noconfirm -Sfu - ;; - "None") - echo "updating NO packages" - ;; - *) - echo "unkown plan $Hostupdateplan" - ;; -esac - - -echo "##################################################################################" |