Skip to content

Commit 7a5b312

Browse files
authored
Merge pull request #179 from grooverdan/no_gs
remove gs --version
2 parents cd09279 + 4e85faf commit 7a5b312

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

functions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ function get_env_details() {
214214
$curl_bits = explode( PHP_EOL, str_replace( 'curl ', '', shell_exec( 'curl --version' ) ) );
215215
$curl = array_shift( $curl_bits );
216216
$env['system_utils']['curl'] = trim( $curl );
217-
$env['system_utils']['ghostscript'] = trim( shell_exec( 'gs --version' ) );
218217
if ( class_exists( 'Imagick' ) ) {
219218
$imagick = new Imagick();
220219
$version = $imagick->getVersion();

prepare.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
\$curl_bits = explode( PHP_EOL, str_replace( 'curl ', '', shell_exec( 'curl --version' ) ) );
8181
\$curl = array_shift( \$curl_bits );
8282
\$env['system_utils']['curl'] = trim( \$curl );
83-
\$env['system_utils']['ghostscript'] = trim( shell_exec( 'gs --version' ) );
8483
if ( class_exists( 'Imagick' ) ) {
8584
\$imagick = new Imagick();
8685
\$version = \$imagick->getVersion();

0 commit comments

Comments
 (0)