Skip to content

Commit

Permalink
Update setup-debian.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Feb 4, 2015
1 parent 804f483 commit ff07a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ function install_ps_mem {
# Update apt sources (Ubuntu only; not yet supported for debian)
############################################################
function update_apt_sources {
grep '^DISTRIB_CODENAME=' /etc/*-release 2>/dev/null
grep '^DISTRIB_CODENAME=' /etc/lsb-release

if [ "DISTRIB_CODENAME" == "" ]
if [ "$DISTRIB_CODENAME" == "" ]
then
die "Unknown Ubuntu flavor $DISTRIB_CODENAME"
fi
Expand Down

0 comments on commit ff07a7f

Please sign in to comment.