Commit bfd4e685 authored by Paul Cammish's avatar Paul Cammish
Browse files

Check for missing GnuPG in very minimal installs

parent d4a6e4db
......@@ -42,7 +42,7 @@ fi
clear
echo
echo "-----------------------------------------------------------------------"
echo " Sympl Installer v20210818 "
echo " Sympl Installer v20210823 "
echo "-----------------------------------------------------------------------"
echo
echo "This script will help you install Sympl on a Debian Linux or Raspberry"
......@@ -67,10 +67,19 @@ fi
echo "Installing initial dependencies..."
apt -yqq update
if [ "x$(which debconf-set-selections)" = "x" ]; then
apt-get -qq -y install debconf gnupg
if [ $( dpkg -l | grep -c '^ii *gnupg[ 12]' ) -eq 0 ]; then
apt-get -qq -y install gnupg
if [ $( dpkg -l | grep -c '^ii *gnupg[ 12]' ) -eq 0 ]; then
echo "ERROR: Unable to install GnuPG, you will need to install manually, sorry."
exit 1
fi
fi
if [ "x$(which debconf-set-selections)" = "x" ] ; then
apt-get -qq -y install debconf
if [ "x$(which debconf-set-selections)" = "x" ]; then
echo "ERROR: Unable to set defaults, you will need to install manually, sorry."
echo "ERROR: Unable set defaults, you will need to install manually, sorry."
exit 1
fi
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment