build.sh调整

This commit is contained in:
shenmo 2023-01-30 15:59:01 +08:00
parent 09f5375891
commit 688d1a38db
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ Depends: curl,transhell
Description: Aptss for Yoyo OS
Architecture: amd64
Homepage: https://gitee.com/spark-community-works-collections/oyo
Provides: apt
Provides: apt(=2.4.8)
Conflicts: apt
Replaces: apt
Priority: important

View File

@ -1,8 +1,9 @@
#!/bin/bash
mkdir -p OYO/opt/durapps/oyo/yoyo-getfastmirror
cd yoyo-getfastmirror
dart pub get
./release.sh
mv release/yoyo-getfastmirror ../OYO/opt/durapps/oyo/yoyo-getfastmirror -u
cd ../OYO
fakeroot dpkg -b . ..
rm opt/durapps/oyo/yoyo-getfastmirror
rm opt/durapps/oyo/yoyo-getfastmirror/*