summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-scripts/linhes_update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/linhes-scripts/linhes_update.sh')
-rw-r--r--abs/core-testing/linhes-scripts/linhes_update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/linhes-scripts/linhes_update.sh b/abs/core-testing/linhes-scripts/linhes_update.sh
index 121f683..3b455e0 100644
--- a/abs/core-testing/linhes-scripts/linhes_update.sh
+++ b/abs/core-testing/linhes-scripts/linhes_update.sh
@@ -12,6 +12,7 @@ dsply () {
chck () {
sudo pacman -Sy
sudo pacman -Qu > /tmp/check_update
+ sudo grep Target /tmp/check_update > /tmp/to_be_upgraded
if grep -q no\ upgrades\ found /tmp/check_update
then
killall osd_cat
@@ -32,7 +33,6 @@ chck () {
mv /tmp/linhes.xml.tmp /usr/share/mythtv/linhes.xml
dsply
fi
- grep Target /tmp/check_update > /tmp/to_be_upgraded
-}
+ }
dsply
chck