diff --git a/OYO/DEBIAN/control b/OYO/DEBIAN/control index 1589f16..7ffb0d0 100644 --- a/OYO/DEBIAN/control +++ b/OYO/DEBIAN/control @@ -5,7 +5,7 @@ Section: utils Installed-Size:10 Depends: curl,transhell Description: Aptss for Yoyo OS -Architecture: all +Architecture: amd64 Homepage: https://gitee.com/spark-community-works-collections/oyo Provides: apt Conflicts: apt diff --git a/OYO/opt/durapps/oyo/yoyo-getfastmirror/.keep b/OYO/opt/durapps/oyo/yoyo-getfastmirror/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/OYO/opt/durapps/oyo/yoyo-getfastmirror/yoyo-getfastmirror b/OYO/opt/durapps/oyo/yoyo-getfastmirror/yoyo-getfastmirror new file mode 100755 index 0000000..7d7b957 Binary files /dev/null and b/OYO/opt/durapps/oyo/yoyo-getfastmirror/yoyo-getfastmirror differ diff --git a/build.sh b/build.sh index 31d164c..de37dc4 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,7 @@ #!/bin/bash -cd OYO +mkdir -p OYO/opt/durapps/oyo/yoyo-getfastmirror +cd yoyo-getfastmirror +./release.sh +mv release/yoyo-getfastmirror ../OYO/opt/durapps/oyo/yoyo-getfastmirror -u +cd ../OYO fakeroot dpkg -b . .. diff --git a/yoyo-getfastmirror/lib/src/commands/getfastmirror_command.dart b/yoyo-getfastmirror/lib/src/commands/getfastmirror_command.dart index 8d9912d..f19ee9b 100644 --- a/yoyo-getfastmirror/lib/src/commands/getfastmirror_command.dart +++ b/yoyo-getfastmirror/lib/src/commands/getfastmirror_command.dart @@ -16,7 +16,7 @@ class GetfastmirroCommand extends Command { @override String get description => - 'Get fastest mirro and generate config file for oyo'; + 'Get fastest mirror and generate config file for oyo'; @override String get name => 'getfastmirror';