Skip to content

Commit

Permalink
restoring sudo to package installers
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolis committed Jun 30, 2022
1 parent 4f08358 commit 43fdfb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Expand Up @@ -215,13 +215,13 @@ runs:
# v0.6.0's linux release has a dependency on `libpcsclite1`
log_info "Installing libpcsclite1 package if necessary..."
set +e
$SUDO dpkg -s libpcsclite1
sudo dpkg -s libpcsclite1
if [ $? -eq 0 ]; then
log_info "libpcsclite1 package is already installed"
else
log_info "libpcsclite1 package is not installed, installing it now."
$SUDO apt-get update -q -q
$SUDO apt-get install -yq libpcsclite1
sudo apt-get update -q -q
sudo apt-get install -yq libpcsclite1
fi
set -e
fi
Expand Down

0 comments on commit 43fdfb2

Please sign in to comment.