diff options
-rwxr-xr-x | mkosi.postinst | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index a742824..25a6b56 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -1,4 +1,11 @@ -#export DEBIAN_FRONTEND=noninteractive!/bin/sh +#!/bin/sh + +# Version +export mayan_version=3.5.1 +export psycopg2_version=2.8.6 +export redis_version=3.5.3 + +# GO set -ex export DEBIAN_FRONTEND=noninteractive @@ -37,8 +44,8 @@ export MAYAN_STATIC_ROOT=/opt/mayan-edms/static # Install application sudo -u mayan /opt/mayan-edms/bin/pip install -U pip -sudo -u mayan /opt/mayan-edms/bin/pip install --use-feature=2020-resolver mayan-edms -sudo -u mayan /opt/mayan-edms/bin/pip install psycopg2==2.8.4 redis==3.4.1 +sudo -u mayan /opt/mayan-edms/bin/pip install --use-feature=2020-resolver mayan-edms==${mayan_version} +sudo -u mayan /opt/mayan-edms/bin/pip install psycopg2==${psycopg2_version} redis==${redis_version} # Bootstrap mayan #sudo --preserve-env -u mayan /opt/mayan-edms/bin/mayan-edms.py initialsetup |