On Mon, Dec 21, 2020 at 02:46:22PM +0800, Wei Jihui wrote:
all dependent functions is move to lib/env.sh, sbin/set-env.sh in not required.
Signed-off-by: Wei Jihui weijihuiall@163.com
sbin/install-dependencies.sh | 40 +++++++++++++++++------------------- 1 file changed, 19 insertions(+), 21 deletions(-)
diff --git a/sbin/install-dependencies.sh b/sbin/install-dependencies.sh index 7605a29f..b4d3ad22 100755 --- a/sbin/install-dependencies.sh +++ b/sbin/install-dependencies.sh @@ -1,30 +1,28 @@
if type dnf > /dev/null 2>&1; then
no need to add 2>&1 if >/dev/null
Thanks, Yong