update OYO/usr/local/bin/apt.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2023-06-11 10:05:04 +00:00 committed by Gitee
parent 7bfb118ed1
commit 78ff1536b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,8 @@
#!/bin/bash
source /opt/durapps/transhell/transhell.sh
load_transhell
if [[ ! -t 1 ]]; then # 如果标准输出不是终端,输出警告信息到 stderr
echo -e "${TRANSHELL_CONTENT_APT_IS_PROVIDED_BY_OYO} " >&2
fi
#echo -e "${TRANSHELL_CONTENT_APT_IS_PROVIDED_BY_OYO} "
oyo $@