Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.core
Commits
9f52e194
Commit
9f52e194
authored
Sep 28, 2021
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web_deploy: Add support for Debian 11
parent
d5935fc7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_base_setup.txt
...oy/PathTemplateItem/web_page_module/deploy_base_setup.txt
+6
-3
No files found.
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_base_setup.txt
View file @
9f52e194
...
@@ -40,7 +40,7 @@ fi
...
@@ -40,7 +40,7 @@ fi
# Warn users who aren't on an explicitly supported distro, but allow them to
# Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``export FORCE=yes``
# override check and attempt installation with ``export FORCE=yes``
if [[ ! ${DISTRO} =~ (jessie|stretch|buster|
xenial|bionic|eoan
|focal|rhel7) ]]; then
if [[ ! ${DISTRO} =~ (jessie|stretch|buster|
bullseye|xenial|bionic
|focal|rhel7) ]]; then
echo "WARNING: this script has not been tested on $DISTRO"
echo "WARNING: this script has not been tested on $DISTRO"
if [[ "$FORCE" != "yes" ]]; then
if [[ "$FORCE" != "yes" ]]; then
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
...
@@ -128,12 +128,15 @@ is_package_installed unzip || install_package unzip
...
@@ -128,12 +128,15 @@ is_package_installed unzip || install_package unzip
is_package_installed openssl || install_package openssl
is_package_installed openssl || install_package openssl
is_package_installed ansible || install_package ansible
is_package_installed ansible || install_package ansible
if ! is_ubuntu || [[ $DISTRO = wheezy || $DISTRO == jessie || $DISTRO == stretch || $DISTRO =
xenial || $DISTRO = artful || $DISTRO
= bionic ]]; then
if ! is_ubuntu || [[ $DISTRO = wheezy || $DISTRO == jessie || $DISTRO == stretch || $DISTRO =
= xenial || $DISTRO =
= bionic ]]; then
is_package_installed python-pip || install_package python-pip
is_package_installed python-pip || install_package python-pip
else
else
# Ansible is using python3 now
# Ansible is using python3 now
is_package_installed python3-pip || install_package python3-pip
is_package_installed python3-pip || install_package python3-pip
# XXXX install python2 until we can properly set ansible python interpreter
fi
if is_ubuntu && [[ $DISTRO == focal || $DISTRO == buster ]]; then
# install python2 in distro where python2 is not installed by default and ansible python interpreter is still python2
is_package_installed python || install_package python
is_package_installed python || install_package python
fi
fi
...
...
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