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
ec20fdb6
Commit
ec20fdb6
authored
Aug 21, 2020
by
Paul Cammish
Browse files
Improved flow when gnupg is not installed
parent
8390b811
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
View file @
ec20fdb6
...
...
@@ -61,19 +61,19 @@ if ! hostname --fqdn > /dev/null 2>&1 ; then
exit
1
fi
echo
"Installing
Sympl from '
$version
' repository
."
echo
"Installing
initial dependencies..
."
apt
-yqq
update
if
[
"x
$(
which debconf-set-selections
)
"
=
"x"
]
;
then
echo
Installing debconf to
set
defaults...
apt-get
-qq
update
apt-get
-qq
-y
install
debconf
apt-get
-qq
-y
install
debconf gnupg
if
[
"x
$(
which debconf-set-selections
)
"
=
"x"
]
;
then
echo
"Unable to set defaults, you will need to install manually, sorry."
exit
0
else
echo
"OK"
echo
"ERROR: Unable to set defaults, you will need to install manually, sorry."
exit
1
fi
fi
echo
"Installing Sympl from '
$version
' repository."
echo
"Setting defaults..."
echo
"phpmyadmin phpmyadmin/reconfigure-webserver select apache2"
| debconf-set-selections
echo
"roundcube-core roundcube/dbconfig-install boolean true"
| debconf-set-selections
echo
"roundcube-core roundcube/database-type select mysql"
| debconf-set-selections
...
...
@@ -93,10 +93,6 @@ echo -n "Adding repository to apt..."
echo
"deb http://packages.mythic-beasts.com/mythic/
$version
main"
>
"/etc/apt/sources.list.d/sympl_
$codename
.list"
echo
"OK"
echo
-n
"Updating apt..."
apt
-yqq
update
echo
"OK"
echo
"Installing Sympl..."
if
[
$noninteractive
==
0
]
;
then
echo
"Starting in 5 seconds - Ctrl-C to cancel!"
...
...
Write
Preview
Markdown
is supported
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