Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sympl
Sympl Install Script
Commits
bfd4e685
Commit
bfd4e685
authored
Aug 23, 2021
by
Paul Cammish
Browse files
Check for missing GnuPG in very minimal installs
parent
d4a6e4db
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
bfd4e685
...
@@ -42,7 +42,7 @@ fi
...
@@ -42,7 +42,7 @@ fi
clear
clear
echo
echo
echo
"-----------------------------------------------------------------------"
echo
"-----------------------------------------------------------------------"
echo
" Sympl Installer v202108
18
"
echo
" Sympl Installer v202108
23
"
echo
"-----------------------------------------------------------------------"
echo
"-----------------------------------------------------------------------"
echo
echo
echo
"This script will help you install Sympl on a Debian Linux or Raspberry"
echo
"This script will help you install Sympl on a Debian Linux or Raspberry"
...
@@ -67,10 +67,19 @@ fi
...
@@ -67,10 +67,19 @@ fi
echo
"Installing initial dependencies..."
echo
"Installing initial dependencies..."
apt
-yqq
update
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
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
exit
1
fi
fi
fi
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment