gpg is in different packages in ubuntu
This commit is contained in:
@@ -27,13 +27,15 @@ debconf-set-selections <<< 'mysql-server mysql-server/root_password_again passwo
|
|||||||
|
|
||||||
# this enables automatic security upgrades (https://help.ubuntu.com/community/AutomaticSecurityUpdates)
|
# this enables automatic security upgrades (https://help.ubuntu.com/community/AutomaticSecurityUpdates)
|
||||||
# resolvconf is needed for unbound to work property after disabling systemd-resolved in 18.04
|
# resolvconf is needed for unbound to work property after disabling systemd-resolved in 18.04
|
||||||
|
ubuntu_version=$(lsb_release -rs)
|
||||||
|
gpg_package=$([[ "${ubuntu_version}" == "16.04" ]] && echo "gnupg" || echo "gpg")
|
||||||
apt-get -y install \
|
apt-get -y install \
|
||||||
acl \
|
acl \
|
||||||
build-essential \
|
build-essential \
|
||||||
cron \
|
cron \
|
||||||
curl \
|
curl \
|
||||||
dmsetup \
|
dmsetup \
|
||||||
gpg \
|
$gpg_package \
|
||||||
iptables \
|
iptables \
|
||||||
libpython2.7 \
|
libpython2.7 \
|
||||||
logrotate \
|
logrotate \
|
||||||
|
|||||||
Reference in New Issue
Block a user