Skip to content

Commit 2c9134e

Browse files
committed
Adjust repository update position.
1 parent dfaeb58 commit 2c9134e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ echo
582582

583583
# Updating system
584584
echo -ne "Updating currently installed packages, please wait... "
585+
apt-get -qq update
585586
apt-get -y upgrade >> $LOG &
586587
BACK_PID=$!
587588

@@ -836,9 +837,6 @@ fi
836837
# Install packages #
837838
#----------------------------------------------------------#
838839

839-
# Updating system
840-
apt-get -qq update
841-
842840
# Disabling daemon autostart on apt-get install
843841
echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
844842
chmod a+x /usr/sbin/policy-rc.d

0 commit comments

Comments
 (0)