Skip to content

Commit

Permalink
Fix extension logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Aug 24, 2021
1 parent 4f420be commit 2cb9b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ self_hosted_helper() {
# Function to install a package
install_packages() {
packages=("$@")
[[ "${packages[*]}" =~ php ]] && add_ppa ondrej/php
[[ "${packages[*]}" =~ php ]] && add_ppa ondrej/php >/dev/null 2>&1
$apt_install "${packages[@]}" >/dev/null 2>&1 || (update_lists && $apt_install "${packages[@]}" >/dev/null 2>&1)
}

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/tools/ppa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ update_lists() {
elif grep -Eq '^deb ' "$list_file"; then
list="$list_file"
fi
update_lists_helper "$list"
update_lists_helper "$list" >/dev/null 2>&1
echo '' | tee /tmp/setup_php >/dev/null 2>&1
fi
}
Expand Down

0 comments on commit 2cb9b82

Please sign in to comment.