Skip to content

Commit

Permalink
CI: Fix build on Ubuntu<=24
Browse files Browse the repository at this point in the history
* .github/workflows/build.yml: Update `Install mu4e' job to work with
Ubuntu-22 sources list format as well.
  • Loading branch information
mkcms committed Oct 22, 2024
1 parent 8f07653 commit d080ad1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ jobs:
- name: Install mu4e
run: |
emacs=`which emacs`
# Ubuntu<24
test -e /etc/apt/sources.list && \
sudo sed -i '/^deb/P;s/^deb/deb-src/' /etc/apt/sources.list
# Ubuntu>=24
sudo sed -i 's/^Types: deb/Types: deb deb-src/' /etc/apt/sources.list.d/*
sudo apt-get update
sudo apt-get install git meson emacs
sudo apt-get build-dep maildir-utils
Expand Down

0 comments on commit d080ad1

Please sign in to comment.