Skip to content

Commit 93c9af4

Browse files
committed
CI: Update zypper configuation within a drop-in directory
Current openSUSE Tumbleweed image replaced /etc/zypp/zypp.conf file with /etc/zypp/zypp.conf.d directory and thus a CI workflow for the distrubution failed: Run sed -i /etc/zypp/zypp.conf -e "s/rpm.install.excludedocs = yes/rpm.install.excludedocs = no/" sed: can't read /etc/zypp/zypp.conf: No such file or directory This patch adapts to the change.
1 parent e33ecf1 commit 93c9af4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ jobs:
352352
steps:
353353
- name: Enable docs in container
354354
run:
355-
sed -i /etc/zypp/zypp.conf
356-
-e "s/rpm.install.excludedocs = yes/rpm.install.excludedocs = no/"
355+
printf '[main]\nrpm.install.excludedocs = no\n'
356+
> /etc/zypp/zypp.conf.d/excludedocs.conf
357357

358358
- name: Install dependencies
359359
run:

0 commit comments

Comments
 (0)