From e1efffa1304b62cbff2ae7c160339a8bcae1b514 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 23 Oct 2014 18:09:21 +0000
Subject: update81-82.sh: add spacing

---
 abs/core/update81-82.sh | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/abs/core/update81-82.sh b/abs/core/update81-82.sh
index 872b462..7061311 100644
--- a/abs/core/update81-82.sh
+++ b/abs/core/update81-82.sh
@@ -21,6 +21,7 @@ then
     exit 3
 fi
 
+echo ""
 echo "Syncing pacman repos..."
 pacman -Ssyy LinHES-system | awk '{print $2}' | grep -q "8.2-"
 pr=$?
@@ -33,6 +34,7 @@ then
     exit 3
 fi
 
+echo ""
 echo "Downloading filesystem and glibc for later use, please wait..."
 curl -o filesystem-itermediate.pkg.tar.xz http://linhes.org/repo/x86_64/filesystem-itermediate.pkg.tar.xz
 rc=$?
@@ -63,11 +65,13 @@ then
   exit 2
 fi
 
+echo ""
 echo "Removing miscellanous files not in packages..."
 rm -f /usr/lib/libtalloc.so.1
 rm -f /usr/lib/libtalloc.so.2
 rm -f /etc/ssl/certs/java/cacerts
 
+echo ""
 echo "Removing symlinks not in poweroff-scripts package..."
 if [ -L /usr/sbin ]
 then
@@ -84,6 +88,7 @@ then
 fi
 
 
+echo ""
 echo "Updating packages..."
 pacman -Syu lirc lirc-utils --ignore filesystem,bash,glibc
 rc=$?
@@ -112,8 +117,13 @@ then
   exit 2
 fi
 
-pacman -Su
-
+pacman -Su --noconfirm
+rc=$?
+if [ $rc != 0 ]
+then
+  echo "FAILED: pacman -Su"
+  exit 2
+fi
 
 if [ -e /etc/udev/rules.d/80-net-name-slot.rules ]
 then
@@ -133,6 +143,8 @@ then
   echo "for packages that need to be updated"
   exit 2
 else
+  echo ""
+  echo ""
   echo "New filesystem in place"
   echo "LinHES 8.2 upgrade was successful!"
   echo "Please reboot"
-- 
cgit v0.12

