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
Labels
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
18417940
Commit
18417940
authored
Feb 03, 2023
by
Thomas Gambier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web_deploy: support Linux Mint 21
parent
5db9750d
Pipeline
#26387
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_base_setup.txt
...oy/PathTemplateItem/web_page_module/deploy_base_setup.txt
+1
-1
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt
...thTemplateItem/web_page_module/deploy_function_common.txt
+1
-1
No files found.
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_base_setup.txt
View file @
18417940
...
@@ -39,7 +39,7 @@ fi
...
@@ -39,7 +39,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|bullseye|xenial|bionic|focal|jammy|Kylin-v10.|rhel7) ]]; then
if [[ ! ${DISTRO} =~ (jessie|stretch|buster|bullseye|xenial|bionic|focal|jammy|Kylin-v10.|rhel7
|Linuxmint-21.1
) ]]; 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"
...
...
master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_function_common.txt
View file @
18417940
...
@@ -229,7 +229,7 @@ function GetOSVersion {
...
@@ -229,7 +229,7 @@ function GetOSVersion {
os_RELEASE=$(lsb_release -r -s)
os_RELEASE=$(lsb_release -r -s)
os_UPDATE=""
os_UPDATE=""
os_PACKAGE="rpm"
os_PACKAGE="rpm"
if [[ "Debian,Ubuntu,LinuxMint,Raspbian,Kylin" =~ $os_VENDOR ]]; then
if [[ "Debian,Ubuntu,LinuxMint,
Linuxmint,
Raspbian,Kylin" =~ $os_VENDOR ]]; then
os_PACKAGE="deb"
os_PACKAGE="deb"
elif [[ "SUSE LINUX" =~ $os_VENDOR ]]; then
elif [[ "SUSE LINUX" =~ $os_VENDOR ]]; then
lsb_release -d -s | grep -q openSUSE
lsb_release -d -s | grep -q openSUSE
...
...
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