summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-system/update_system
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/MythVantage-system/update_system')
-rwxr-xr-xabs/mv-core/MythVantage-system/update_system52
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 "##################################################################################"