Skip to content

Commit

Permalink
move
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 31, 2025
1 parent 6b4394a commit a287078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steps/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function install_package() {
local PACKAGE=$1
if ! eval "$PACKAGE" --version >/dev/null 2>&1; then
if "${LOCAL}/help/is-linux.sh"; then
"${LOCAL}/help/sudo.sh" apt-get install -y "$PACKAGE"
"${LOCAL}/help/sudo.sh" apt-get install --yes "$PACKAGE"
elif "${LOCAL}/help/is-macos.sh"; then
if brew -v; then
"${LOCAL}/help/sudo.sh" --as-user brew install "$PACKAGE"
Expand Down Expand Up @@ -117,7 +117,7 @@ fi

if ! pdftotext -v >/dev/null 2>&1; then
if "${LOCAL}/help/is-linux.sh"; then
"${LOCAL}/help/sudo.sh" apt-get install -y xpdf
"${LOCAL}/help/sudo.sh" apt-get install --yes xpdf
elif "${LOCAL}/help/is-macos.sh"; then
"${LOCAL}/help/sudo.sh" --as-user brew install poppler
else
Expand Down

0 comments on commit a287078

Please sign in to comment.