Skip to content

Commit

Permalink
[script] run apt-get update
Browse files Browse the repository at this point in the history
run apt-get update to avoid potential errors

diem#19 has more context
  • Loading branch information
0-o-0 authored and calibra-opensource committed Jun 18, 2019
1 parent ce7834d commit e58a013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
PACKAGE_MANAGER="yum"
elif which apt-get &>/dev/null; then
PACKAGE_MANAGER="apt-get"
sudo apt-get update
else
echo "Unable to find supported package manager (yum or apt-get). Abort"
exit 1
Expand Down

0 comments on commit e58a013

Please sign in to comment.