From 01397bf9c69739ae383f80d83c05341586b0ee74 Mon Sep 17 00:00:00 2001 From: shenmo <jifengshenmo@outlook.com> Date: Fri, 3 Feb 2023 01:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=A4=E4=BA=86Install=E4=B9=8B=E5=A4=96?= =?UTF-8?q?=E4=B8=8D=E5=85=81=E8=AE=B8=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OYO/DEBIAN/control | 2 +- OYO/usr/bin/oyo | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/OYO/DEBIAN/control b/OYO/DEBIAN/control index cc410f6..673c51b 100644 --- a/OYO/DEBIAN/control +++ b/OYO/DEBIAN/control @@ -1,5 +1,5 @@ Package: oyo -Version: 1.2.3 +Version: 1.2.4 Maintainer: shenmo <shenmo@spark-app.store> Section: utils Installed-Size:10 diff --git a/OYO/usr/bin/oyo b/OYO/usr/bin/oyo index 9b6f1a8..c3acb35 100755 --- a/OYO/usr/bin/oyo +++ b/OYO/usr/bin/oyo @@ -34,5 +34,8 @@ 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