Skip to content

Commit

Permalink
check the result of apt-get update on the appropriate place
Browse files Browse the repository at this point in the history
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
  • Loading branch information
freemangordon committed May 5, 2014
1 parent 372a5fe commit 0874974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions community-ssu-enabler
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ fi
echo -e "\nInstalling community package $communitymp dumb meta package..."
dpkg -i --force-all $debfile

echo -e "\nUpdating repository lists..."
apt-get update

# Check if we have to install a kernel which workarounds errata 430973
# Assume upstream kernels support it
KERNEL_VERSION=`uname -r`
Expand All @@ -107,6 +104,9 @@ case $KERNEL_VERSION in
;;
esac

echo -e "\nUpdating repository lists..."
apt-get update

if [ "$?" = "0" ]
then
echo "backing up transistions.ini"
Expand Down

0 comments on commit 0874974

Please sign in to comment.