判断oyo是否存在

Signed-off-by: 柚子 <chowhound_xb@163.com>
This commit is contained in:
柚子
2023-01-28 16:44:12 +00:00
committed by Gitee
parent 1266b16d83
commit f91ee56d97

View File

@@ -17,6 +17,9 @@ if grep -Eqi "linuxmint" /etc/os-release;then
_APTMGR=apt-get
fi
if [ -x "$(command -v oyo)" ]; then
_APTMGR=apt-get
fi
####
#