4 Commits

Author SHA1 Message Date
78ff1536b4 update OYO/usr/local/bin/apt.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2023-06-11 10:05:04 +00:00
7bfb118ed1 修复语法错误 2023-02-04 09:45:19 +08:00
01397bf9c6 除了Install之外不允许降级 2023-02-03 01:38:20 +08:00
bb869eec89 关闭提示,防止星火出错 2023-02-02 23:28:35 +08:00
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
Package: oyo
Version: 1.2.2
Version: 1.2.4
Maintainer: shenmo <shenmo@spark-app.store>
Section: utils
Installed-Size:10

View File

@@ -33,6 +33,9 @@ fi
if [ "$1" = "yyupdate" ];then
update-apt-fast-conf
##### 其他的直接转给apt-fast
else
elif [ "$1" = "install" ];then
${YY_APT_FAST} $@ --allow-downgrades
else
${YY_APT_FAST} $@
fi

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 $@