diff options
| -rw-r--r-- | abs/core-testing/linhes-scripts/PKGBUILD | 2 | ||||
| -rw-r--r-- | abs/core-testing/linhes-scripts/upgrade_to_0.22.sh | 19 | 
2 files changed, 12 insertions, 9 deletions
| diff --git a/abs/core-testing/linhes-scripts/PKGBUILD b/abs/core-testing/linhes-scripts/PKGBUILD index 8d4e879..b997242 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=48 +pkgrel=49  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 a90b04e..03b6a1a 100644 --- a/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh +++ b/abs/core-testing/linhes-scripts/upgrade_to_0.22.sh @@ -10,8 +10,11 @@ function pause(){  clear  echo "The script will guide you thru the process of upgrading LinHES to MythTV 0.22."  pause 'Press <ENTER> to continue...' -echo "Stopping the backend." -sv stop mythbackend &>/dev/null +if grep -E "Master|Stand" /etc/systemconfig &>/dev/null +	then +	echo "Stopping the backend." +	sv stop mythbackend &>/dev/null +fi  echo "Sync'n with the repos..."  pacman -Sy &>/dev/null  echo "Removing MythVodka if installed as it is no longer compatible with MythTV." @@ -77,13 +80,13 @@ if grep -E "Master|Stand" /etc/systemconfig &>/dev/null  	#Sleeping for 30 seconds to give the schema time to upgrade....  	sleep 30  	read -p "Press <ENTER> to continue once the schema upgrade is complete." +	echo -e "\033[1mNow, the frontend will launch to update the schema for any plugins.\033[0m" +	echo -e "\033[1mOnce the this is done, please exit the frontend.\033[0m" +	pause 'Press <ENTER> to continue...' +	xterm -e mythfrontend +	echo "Performing LinHES specific schema updates." +	/usr/LH/bin/update_schema_021_to_022.sh  fi -echo -e "\033[1mNow, the frontend will launch to update the schema for any plugins.\033[0m" -echo -e "\033[1mOnce the this is done, please exit the frontend.\033[0m" -pause 'Press <ENTER> to continue...' -xterm -e mythfrontend -echo "Performing LinHES specific schema updates." -/usr/LH/bin/update_schema_021_to_022.sh  echo "All done!"  echo -e "\033[5mThanks for choosing LinHES!\033[0m"  pause "Press <ENTER> to reboot." | 
