Skip to content

Commit

Permalink
fix: make sure dirs exist
Browse files Browse the repository at this point in the history
  • Loading branch information
cofiem committed May 28, 2023
1 parent 0af24a1 commit b41fa0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install_xpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ def run(self) -> bool:
logger.info("Downloading and installing xpdf tools.")

download_dir = self._xpdf_install_args.download_dir.absolute()
download_dir.mkdir(parents=True, exist_ok=True)

install_dir = self._xpdf_install_args.install_dir.absolute()
install_dir.mkdir(parents=True, exist_ok=True)

gpg_key_url = self._xpdf_install_args.gpg_key_url
file_sig_url = self._xpdf_install_args.file_sig_url
Expand Down

0 comments on commit b41fa0d

Please # to comment.