summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-31 17:05:55 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-31 17:05:55 +0900
commit9631d05f5463a2ac68c987c8eba509dfffa0828b (patch)
tree88940db7719da8d26be811c1a93cff795c33115c /src/utils
parentUpdate type definition (diff)
downloadsharkey-9631d05f5463a2ac68c987c8eba509dfffa0828b.tar.gz
sharkey-9631d05f5463a2ac68c987c8eba509dfffa0828b.tar.bz2
sharkey-9631d05f5463a2ac68c987c8eba509dfffa0828b.zip
Check GraphicsMagick
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dependencyInfo.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/dependencyInfo.ts b/src/utils/dependencyInfo.ts
index e0d8f24d74..a184a849b7 100644
--- a/src/utils/dependencyInfo.ts
+++ b/src/utils/dependencyInfo.ts
@@ -14,6 +14,7 @@ export default class DependencyInfo {
this.show('npm', 'npm -v', x => x.match(/^(.*)\r?\n$/));
this.show('MongoDB', 'mongo --version', x => x.match(/^MongoDB shell version: (.*)\r?\n$/));
this.show('Redis', 'redis-server --version', x => x.match(/v=([0-9\.]*)/));
+ this.show('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([0-9\.]*) .*/));
this.logger.info('Checking finished');
}