Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
b32cb622
Commit
b32cb622
authored
Nov 26, 2015
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install boto (py2) via the package manager, not pip (used by duplicity)
parent
3dd5fff1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
management.sh
setup/management.sh
+5
-4
No files found.
setup/management.sh
View file @
b32cb622
...
@@ -4,14 +4,15 @@ source setup/functions.sh
...
@@ -4,14 +4,15 @@ source setup/functions.sh
echo
"Installing Mail-in-a-Box system management daemon..."
echo
"Installing Mail-in-a-Box system management daemon..."
# Switching python 2 boto to package manager's, not pypi's.
if
[
-f
/usr/local/lib/python2.7/dist-packages/boto/__init__.py
]
;
then
hide_output pip uninstall
-y
boto
;
fi
# duplicity uses python 2 so we need to use the python 2 package of boto
# build-essential libssl-dev libffi-dev python3-dev: Required to pip install cryptography.
# build-essential libssl-dev libffi-dev python3-dev: Required to pip install cryptography.
apt_install python3-flask links duplicity libyaml-dev python3-dnspython python3-dateutil
\
apt_install python3-flask links duplicity
python-boto
libyaml-dev python3-dnspython python3-dateutil
\
build-essential libssl-dev libffi-dev python3-dev python-pip
build-essential libssl-dev libffi-dev python3-dev python-pip
hide_output pip3
install
--upgrade
rtyaml
"email_validator>=1.0.0"
"idna>=2.0.0"
"cryptography>=1.0.2"
boto
hide_output pip3
install
--upgrade
rtyaml
"email_validator>=1.0.0"
"idna>=2.0.0"
"cryptography>=1.0.2"
boto
# duplicity uses python 2 so we need to use the python 2 package of boto
hide_output pip
install
--upgrade
boto
# email_validator is repeated in setup/questions.sh
# email_validator is repeated in setup/questions.sh
# Create a backup directory and a random key for encrypting backups.
# Create a backup directory and a random key for encrypting backups.
...
...
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