Skip to content

Commit e8e0fcf

Browse files
committed
typo in need function
1 parent cde0b7f commit e8e0fcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ex-installer0019.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ INSTALLER_TAG="v0.0.19-Devel"
2626
function need () {
2727
type -p $1 > /dev/null && return
2828
dpkg -l $1 2>&1 | egrep ^ii >/dev/null && return
29-
sudo apt-get install $1
30-
type -p $1 > /dev/null && return
29+
sudo apt-get install $1 && return
3130
echo "Could not install $1, abort"
3231
exit 255
3332
}

0 commit comments

Comments
 (0)