Skip to content

Commit

Permalink
add without-gui to version check
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipNelson5 authored and brobeson committed Sep 3, 2022
1 parent c8ad48a commit 9328c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepublish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -eu
#
# This is tricky. Due to quirks in bash regex matching, the regex must be in a
# variable, and I can't use quotes in the test.
inkscape_version=$(inkscape --version)
inkscape_version=$(inkscape --without-gui --version)
inkscape_0_regex="^Inkscape 0"
if [[ ${inkscape_version} =~ ${inkscape_0_regex} ]]
then
Expand Down

0 comments on commit 9328c54

Please sign in to comment.