mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-02-16 17:10:49 +01:00
KASM-4721 install cups-client to have cli tools for printer testing
This commit is contained in:
parent
b875f60e83
commit
14e8d1edaf
@ -18,7 +18,7 @@ cd /tmp
|
||||
BUILD_ARCH=$(uname -p)
|
||||
UBUNTU_CODENAME=""
|
||||
COMMIT_ID="fa884809145e0ba6e5e1da49887a82b5cab0a1d1"
|
||||
BRANCH="release" # just use 'release' for a release branch
|
||||
BRANCH="master" # just use 'release' for a release branch
|
||||
KASMVNC_VER="1.1.1"
|
||||
COMMIT_ID_SHORT=$(echo "${COMMIT_ID}" | cut -c1-6)
|
||||
|
||||
|
@ -5,17 +5,17 @@ set -e
|
||||
echo $DISTRO
|
||||
|
||||
if [ "${DISTRO}" == "oracle7" ] || [ "${DISTRO}" == "centos" ]; then
|
||||
yum install -y cups cups-pdf
|
||||
yum install -y cups cups-client cups-pdf
|
||||
elif [[ "${DISTRO}" == @(almalinux8|almalinux9|oracle8|oracle9|rockylinux8|rockylinux9|fedora37|fedora38) ]]; then
|
||||
dnf install -y cups cups-pdf
|
||||
dnf install -y cups cups-client cups-pdf
|
||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
zypper install -y cups cups-pdf
|
||||
zypper install -y cups cups-client cups-pdf
|
||||
elif [ "${DISTRO}" == "alpine" ]; then
|
||||
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
|
||||
apk add --no-cache cups cups-pdf@testing
|
||||
apk add --no-cache cups cups-client cups-pdf@testing
|
||||
else
|
||||
apt-get update
|
||||
apt-get install -y cups cups-pdf
|
||||
apt-get install -y cups cups-client cups-pdf
|
||||
fi
|
||||
|
||||
COMMIT_ID="049908cfa22a536a1ea9c2e0d42528711b013625"
|
||||
|
Loading…
Reference in New Issue
Block a user