Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Feb 24, 2025
1 parent 774057e commit 3071dd9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/jobs/configure-checks/setup_configure_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

set -eux

shopt -s extglob globstar
shopt -s extglob

distro_id=$(grep "^ID=" /etc/os-release)

# Install everything for configure and testing
shared="pkg-config make rst2pdf autoconf composer bats latexmk"
shared2="$shared python3-{yaml,sphinx} php{,-{fpm,gd,cli,intl,mbstrin,mysql,curl,jsonxml,zip}"
shared1="pkg-config make rst2pdf autoconf composer bats latexmk"
shared2="$shared1 python3-{yaml,sphinx} php{,-{fpm,gd,cli,intl,mbstrin,mysql,curl,jsonxml,zip}"
shared=$(eval echo $shared2)

case $distro_id in
"ID=fedora")
dnf install $shared2 automake util-linux \
python3-sphinx_rtd_theme texlive-cmap -y ;;
*)
apt-get update; apt-get full-upgrade -y ;
echo $shared2 ; \
apt-get install $shared2 \
echo $shared ; \
apt-get install $shared \
python3-sphinx-rtd-theme texlive-latex-{recommended,extra} tex-gyre -y ;;
esac

Expand Down

0 comments on commit 3071dd9

Please sign in to comment.