This commit is contained in:
doms9 2025-09-01 20:09:16 -04:00
parent 00000d9f8e
commit 00000d9656

View file

@ -62,8 +62,18 @@ jobs:
- name: Install Playwright deps - name: Install Playwright deps
if: steps.check_time.outputs.run == 'true' if: steps.check_time.outputs.run == 'true'
run: | run: |
apt-get update set -e
apt-get install -y libevent-2.1-7 libavif13 missing_pkgs=()
for pkg in libevent-2.1-7 libavif13; do
if ! dpkg -s $pkg >/dev/null 2>&1; then
missing_pkgs+=($pkg)
fi
done
if (( ${#missing_pkgs[@]} > 0 )); then
apt-get update
apt-get install -y "${missing_pkgs[@]}"
fi
- name: Fetch M3U8 - name: Fetch M3U8
if: steps.check_time.outputs.run == 'true' if: steps.check_time.outputs.run == 'true'