Skip to content

Commit

Permalink
FIXUP: Restore previous behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 8, 2024
1 parent 4dcca91 commit e5fd1e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ jobs:
run --dev --no-gui ./dangerzone/install/linux/build-deb.py
- name: Upload Dangerzone .deb
if: matrix.distro == 'debian' && matrix.version == 'bookworm'
uses: actions/upload-artifact@v4
with:
name: dangerzone-${{ matrix.distro }}-${{ matrix.version }}.deb
Expand Down Expand Up @@ -250,7 +251,7 @@ jobs:
- name: Download Dangerzone .deb
uses: actions/download-artifact@v4
with:
name: dangerzone-${{ matrix.distro }}-${{ matrix.version }}.deb
name: dangerzone-debian-bookworm.deb
path: "deb_dist/"

- name: Build end-user environment
Expand Down
7 changes: 6 additions & 1 deletion install/linux/vendor-pymupdf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

import argparse
import os
import subprocess
import sys
from pathlib import Path
Expand Down Expand Up @@ -41,7 +42,11 @@ def main():
"--requirement",
"/proc/self/fd/0", # XXX: pip does not read requirements.txt from stdin
]
subprocess.check_output(cmd, input=container_requirements_txt)
subprocess.run(cmd, check=True, input=container_requirements_txt)

if not os.listdir(args.dest):
print(f">>> Failed to vendor PyMuPDF under '{args.dest}'", file=sys.stderr)


print(f">>> Successfully vendored PyMuPDF under '{args.dest}'", file=sys.stderr)

Expand Down

0 comments on commit e5fd1e9

Please sign in to comment.