Skip to content

Commit c4b1e24

Browse files
committed
Check if dirmngr is installed
1 parent 1d7f6ec commit c4b1e24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/hst-install-debian.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,13 @@ if [ ! -e '/usr/bin/wget' ]; then
278278
check_result $? "Can't install wget"
279279
fi
280280

281+
# Checking dirmngr
282+
if [ ! -e '/usr/bin/dirmngr' ]; then
283+
echo "Install missing dirmngr..."
284+
apt-get -y install dirmngr > /dev/null 2>&1
285+
check_result $? "Can't install dirmngr"
286+
fi
287+
281288
# Check if apt-transport-https is installed
282289
if [ ! -e '/usr/lib/apt/methods/https' ]; then
283290
echo "Install missing apt-transport-https..."

0 commit comments

Comments
 (0)