Skip to content

Commit cb19b1a

Browse files
committed
Updated CI scripts
1 parent ea41a65 commit cb19b1a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ci/ci-setup

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ if [ "${ID}" == "ubuntu" ] || [ "${ID}" == "debian" ] ; then
6161
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef --no-install-recommends \
6262
${PACKAGES}
6363

64+
# ====== Add COPR PPA dreibh/ppa =========================================
65+
# NOTE: This is only available for Ubuntu!
6466
if [ "${ID}" == "ubuntu" ] ; then
6567
# Add PPA dreibh/ppa for Ubuntu:
6668
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef --no-install-recommends \
@@ -152,12 +154,11 @@ EOF
152154
echo "echo \"force-unsafe-io\" > /etc/dpkg/dpkg.cfg.d/02apt-speedup" | \
153155
OS="${OS}" DISTRIBUTION="${DIST}" ARCHITECTURE="${ARCH}" pbuilder login --save-after-exec
154156

155-
# ====== Add ppa:dreibh/ppa, updates and backports =================
157+
# ====== Add PPA dreibh/ppa ===========================================
156158
if [ "${OS}" == "ubuntu" ] ; then
157159
# Add PPA dreibh/ppa for Ubuntu:
158160
OS="${OS}" DISTRIBUTION="${DIST}" ARCHITECTURE="${ARCH}" pbuilder login --save-after-login <<EOF
159-
DEBIAN_FRONTEND=noninteractive apt-get install -qqy -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef --no-install-recommends \
160-
software-properties-common
161+
DEBIAN_FRONTEND=noninteractive apt-get install -qqy -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef --no-install-recommends software-properties-common
161162
apt-add-repository -y ppa:dreibh/ppa
162163
apt-get update -q
163164
EOF
@@ -173,7 +174,7 @@ elif [ "${ID}" == "fedora" ] ; then
173174
PACKAGES="${PACKAGES} fedora-release findutils mock nosync rpmdevtools which strace sudo"
174175
fi
175176

176-
# Enable COPR PPA:
177+
# ====== Add COPR PPA dreibh/ppa =========================================
177178
dnf copr enable -y dreibh/ppa
178179

179180
# dnf upgrade -qy

0 commit comments

Comments
 (0)