Skip to content

Commit

Permalink
Rename install func to not confuse bash with apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogrip committed Sep 1, 2018
1 parent 75a56f2 commit bc7c8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Expand Up @@ -36,7 +36,7 @@ function setup_repo {
wget http://repo.ubports.com/keyring.gpg -O - | sudo apt-key add -
}

function install {
function _install {
setup_repo
do_install
}
Expand Down Expand Up @@ -74,6 +74,6 @@ case $UBUNTU_CODENAME in
xenial_install
;;
"bionic")
install
_install
;;
esac

0 comments on commit bc7c8dc

Please sign in to comment.