Skip to content

Commit 90e5479

Browse files
committed
Remove forgotten LinuxMint occurrence
Right now we don't officialy support LinuxMint as our documentation says [1], it seems LinuxMint is a relict and got forgotten over time. This patch removes LinuxMint from the code in order not to confuse users. [1] https://docs.openstack.org/devstack/latest/ Closes-Bug: #1983427 Change-Id: Ie1ced25f89389494b28a7b2e9bb1c4273e002dd5
1 parent 28ee346 commit 90e5479

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

doc/source/plugins.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ package dependencies, packages may be listed at the following
238238
locations in the top-level of the plugin repository:
239239

240240
- ``./devstack/files/debs/$plugin_name`` - Packages to install when running
241-
on Ubuntu, Debian or Linux Mint.
241+
on Ubuntu or Debian.
242242

243243
- ``./devstack/files/rpms/$plugin_name`` - Packages to install when running
244244
on Red Hat, Fedora, or CentOS.

functions-common

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ function GetOSVersion {
426426
os_VENDOR=$(lsb_release -i -s)
427427
fi
428428

429-
if [[ $os_VENDOR =~ (Debian|Ubuntu|LinuxMint) ]]; then
429+
if [[ $os_VENDOR =~ (Debian|Ubuntu) ]]; then
430430
os_PACKAGE="deb"
431431
else
432432
os_PACKAGE="rpm"
@@ -444,9 +444,8 @@ declare -g DISTRO
444444

445445
function GetDistro {
446446
GetOSVersion
447-
if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) || \
448-
"$os_VENDOR" =~ (LinuxMint) ]]; then
449-
# 'Everyone' refers to Ubuntu / Debian / Mint releases by
447+
if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) ]]; then
448+
# 'Everyone' refers to Ubuntu / Debian releases by
450449
# the code name adjective
451450
DISTRO=$os_CODENAME
452451
elif [[ "$os_VENDOR" =~ (Fedora) ]]; then

0 commit comments

Comments
 (0)