Browse Source

Add openSUSE Tumbleweed support

/etc/os-release for openSUSE Tumbleweed (the rolling release from
openSUSE) has ID="opensuse-tumbleweed" so add this to
scripts/install.sh in addition to "opensuse-leap" and "sles".

Change-Id: I0134949c22c897d86253aea09219d4dbaff6907a
Thomas Bechtold 4 months ago
parent
commit
75567c8699
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      scripts/cleanup.sh
  2. 1
    1
      scripts/install.sh
  3. 1
    1
      scripts/install_packages.sh

+ 1
- 1
scripts/cleanup.sh View File

@@ -20,7 +20,7 @@ case ${distro} in
20 20
             python3-virtualenv
21 21
         yum clean all
22 22
         ;;
23
-    opensuse|opensuse-leap|sles)
23
+    opensuse|opensuse-leap|opensuse-tumbleweed|sles)
24 24
         if [[ "${PYTHON3}" == "no" ]]; then
25 25
             remove_packages=("python-virtualenv")
26 26
         else

+ 1
- 1
scripts/install.sh View File

@@ -35,7 +35,7 @@ case ${distro} in
35 35
             sudo \
36 36
             ${rpm_python_packages[@]}
37 37
         ;;
38
-    opensuse|opensuse-leap|sles)
38
+    opensuse|opensuse-leap|opensuse-tumbleweed|sles)
39 39
         if [[ "${PYTHON3}" == "no" ]]; then
40 40
            rpm_python_packages+=("python-devel" "python-setuptools")
41 41
         else

+ 1
- 1
scripts/install_packages.sh View File

@@ -18,7 +18,7 @@ if [[ ! -z ${PACKAGES} ]]; then
18 18
         centos)
19 19
             yum -y --setopt=skip_missing_names_on_install=False install ${PACKAGES[@]} ${DIST_PACKAGES}
20 20
             ;;
21
-       opensuse|opensuse-leap|sles)
21
+       opensuse|opensuse-leap|opensuse-tumbleweed|sles)
22 22
             zypper --non-interactive install --no-recommends ${PACKAGES[@]} ${DIST_PACKAGES}
23 23
             ;;
24 24
         *)

Loading…
Cancel
Save