Skip to content

Commit

Permalink
Generate PDF on Linux (#184)
Browse files Browse the repository at this point in the history
* Generate PDF on Linux

* Regenerated PDF
  • Loading branch information
kigster authored Dec 7, 2024
1 parent ae464c2 commit e710fa0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file modified README.pdf
Binary file not shown.
15 changes: 15 additions & 0 deletions bin/adoc2pdf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,22 @@ function install-fonts() {
) >/dev/null
}


function install-graphicsmagick() {
local function="install-graphicsmagick-${BASHMATIC_OS}"
eval "${function}"
}

function install-graphicsmagick-linux() {
local package="graphicsmagick"
sudo apt-get install -yqq ${package} || {
error "Failed to install ${package} package."
return 1
}
return 0
}

function install-graphicsmagick-darwin() {
local package="graphicsmagick"
brew.cache-reset
brew.install.package ${package}
Expand Down

0 comments on commit e710fa0

Please sign in to comment.