Quick fix unavailability of which command

CC #104
This commit is contained in:
TheAssassin
2019-11-18 20:44:46 +01:00
parent 6cfa741f40
commit 9783db602e
+1 -1
View File
@@ -21,7 +21,7 @@ namespace linuxdeploy {
return p.wait();
};
if (check_command("which dpkg-query") == 0) {
if (check_command("command -v dpkg-query") == 0) {
ldLog() << LD_DEBUG << "Using dpkg-query to search for copyright files" << std::endl;
return std::make_shared<DpkgQueryCopyrightFilesManager>();
}