summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-23 18:09:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-23 18:09:21 (GMT)
commite1efffa1304b62cbff2ae7c160339a8bcae1b514 (patch)
tree630805232385ac4d6aabfdfd6b2ea5f751f4bc4f /abs/core
parent9e8cb5cbe8cfc1a3c96ab1ab6c171060e582067d (diff)
downloadlinhes_pkgbuild-e1efffa1304b62cbff2ae7c160339a8bcae1b514.zip
linhes_pkgbuild-e1efffa1304b62cbff2ae7c160339a8bcae1b514.tar.gz
linhes_pkgbuild-e1efffa1304b62cbff2ae7c160339a8bcae1b514.tar.bz2
update81-82.sh: add spacing
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/update81-82.sh16
1 files 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"