Skip to content

Commit

Permalink
Change source list should be the first step during install
Browse files Browse the repository at this point in the history
This avoid problem when mirror are not in sync
  • Loading branch information
julien-duponchelle committed Jan 26, 2016
1 parent 9bfc45a commit ba32109
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ set -e

export DEBIAN_FRONTEND="noninteractive"

# Sources.list
mv sources.list /etc/apt/sources.list
chmod 644 /etc/apt/sources.list
chown root:root /etc/apt/sources.list

# Add our ppa
apt-get update
apt-get install -y software-properties-common
Expand Down Expand Up @@ -92,11 +97,6 @@ mv interfaces /etc/network/interfaces
chmod 644 /etc/network/interfaces
chown root:root /etc/network/interfaces

# Sources.list
mv sources.list /etc/apt/sources.list
chmod 644 /etc/apt/sources.list
chown root:root /etc/apt/sources.list

# Zerofree
mv zerofree /etc/init.d/zerofree
chown root:root /etc/init.d/zerofree
Expand Down

0 comments on commit ba32109

Please sign in to comment.