fix: add which to dependencies

This commit is contained in:
DuckSoft 2021-04-18 19:11:58 +08:00 committed by GitHub
parent 08d0e5912b
commit 4c563c4de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ public class Main : GLib.Object{
log_debug("Main: check_dependencies()");
string[] dependencies = { "rsync","/sbin/blkid","df","mount","umount","fuser","crontab","cp","rm","touch","ln","sync"}; //"shutdown","chroot",
string[] dependencies = { "rsync","/sbin/blkid","df","mount","umount","fuser","crontab","cp","rm","touch","ln","sync","which"}; //"shutdown","chroot",
string path;
foreach(string cmd_tool in dependencies){