Skip to content

Commit

Permalink
typo in need function
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed Jul 7, 2024
1 parent cde0b7f commit e8e0fcf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ex-installer0019.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ INSTALLER_TAG="v0.0.19-Devel"
function need () {
type -p $1 > /dev/null && return
dpkg -l $1 2>&1 | egrep ^ii >/dev/null && return
sudo apt-get install $1
type -p $1 > /dev/null && return
sudo apt-get install $1 && return
echo "Could not install $1, abort"
exit 255
}
Expand Down

0 comments on commit e8e0fcf

Please sign in to comment.