Permalink
Browse files

install-standalone.sh: misc changes

* added gnupg package as a bootstrap dependency to ubuntu
  (needed by apt-key to add gpg keys of repositories)

* removed dependency of 'tty' command to determine whether the script is
  being run on a tty or not
  • Loading branch information...
vmmello committed Oct 16, 2018
1 parent 36009e9 commit f42181dccf8003580db1dad18ee35ed000f8bf8c
Showing with 3 additions and 2 deletions.
  1. +3 −2 install/install-standalone.sh
@@ -23,7 +23,8 @@ usage() {

bootstrap_ubuntu() {
export DEBIAN_FRONTEND='noninteractive'
apt-get -y install git libcrypt-ssleay-perl libjson-xs-perl liburi-perl
apt-get -y install git libcrypt-ssleay-perl libjson-xs-perl liburi-perl \
gnupg
}

bootstrap_debian() {
@@ -156,7 +157,7 @@ if [ -n "$server_hostname" ]; then
unset autogen_hostname
fi

if tty -s &>/dev/null; then
if [ -t 0 ]; then
has_tty=1
fi

0 comments on commit f42181d

Please sign in to comment.