summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-01-12 11:56:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-08-20 10:42:39 +0200
commit6fbeb2ce1ceea6ede4f169c511c02b10c5c3497d (patch)
treef6d4f318d90163ccd30ae83ede84cb463638963d /install
parent020c3a72963860e6cfaa8e8129dcd41ef05e7413 (diff)
downloadIshtar-6fbeb2ce1ceea6ede4f169c511c02b10c5c3497d.tar.bz2
Ishtar-6fbeb2ce1ceea6ede4f169c511c02b10c5c3497d.zip
🚀 Debian package: delete unecessary files, adapt and add install templates
Diffstat (limited to 'install')
-rw-r--r--install/extra_settings.py1
-rwxr-xr-xinstall/ishtar-install6
2 files changed, 4 insertions, 3 deletions
diff --git a/install/extra_settings.py b/install/extra_settings.py
new file mode 100644
index 000000000..df20af1bb
--- /dev/null
+++ b/install/extra_settings.py
@@ -0,0 +1 @@
+EXTRA_VERSION = 'debian'
diff --git a/install/ishtar-install b/install/ishtar-install
index 2e4ef9fc0..ced980082 100755
--- a/install/ishtar-install
+++ b/install/ishtar-install
@@ -331,7 +331,7 @@ EOF
# Run setup for each distro accordingly
case "$lsb_dist" in
ubuntu|debian|raspbian)
- if [ "$dist_version" != "buster" ] ; then
+ if [ "$dist_version" != "bullseye" ] ; then
echo ""
cecho r " Sorry this script cannot manage your version of Debian/Ubuntu."
echo ""
@@ -396,12 +396,12 @@ EOF
( set -x; $sh_c 'sleep 3; apt-get install -y -q uwsgi uwsgi-plugin-python3 nginx' )
fi
- if [ "$dist_version" == "buster" ]; then
+ if [ "$dist_version" == "bullseye" ]; then
if [ "$default_db" == '127.0.0.1' ]; then
echo "-------------------------------------------------------------------------------";
cecho y "Installing postgresql"
echo ""
- POSTGIS=postgresql-11-postgis-2.5
+ POSTGIS=postgresql-13-postgis-3
( set -x; $sh_c 'sleep 3; apt-get install -y -q postgresql postgresql-contrib '$POSTGIS' '$POSTGIS'-scripts' )
fi
echo "-------------------------------------------------------------------------------";