Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 78ff1536b4 | |||
| 7bfb118ed1 | |||
| 01397bf9c6 | |||
| bb869eec89 |
@@ -1,5 +1,5 @@
|
|||||||
Package: oyo
|
Package: oyo
|
||||||
Version: 1.2.2
|
Version: 1.2.4
|
||||||
Maintainer: shenmo <shenmo@spark-app.store>
|
Maintainer: shenmo <shenmo@spark-app.store>
|
||||||
Section: utils
|
Section: utils
|
||||||
Installed-Size:10
|
Installed-Size:10
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ fi
|
|||||||
if [ "$1" = "yyupdate" ];then
|
if [ "$1" = "yyupdate" ];then
|
||||||
update-apt-fast-conf
|
update-apt-fast-conf
|
||||||
##### 其他的直接转给apt-fast
|
##### 其他的直接转给apt-fast
|
||||||
else
|
|
||||||
|
elif [ "$1" = "install" ];then
|
||||||
${YY_APT_FAST} $@ --allow-downgrades
|
${YY_APT_FAST} $@ --allow-downgrades
|
||||||
|
else
|
||||||
|
${YY_APT_FAST} $@
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source /opt/durapps/transhell/transhell.sh
|
source /opt/durapps/transhell/transhell.sh
|
||||||
load_transhell
|
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 $@
|
oyo $@
|
||||||
|
|||||||
Reference in New Issue
Block a user