build.sh调整
This commit is contained in:
@@ -7,7 +7,7 @@ Depends: curl,transhell
|
|||||||
Description: Aptss for Yoyo OS
|
Description: Aptss for Yoyo OS
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Homepage: https://gitee.com/spark-community-works-collections/oyo
|
Homepage: https://gitee.com/spark-community-works-collections/oyo
|
||||||
Provides: apt
|
Provides: apt(=2.4.8)
|
||||||
Conflicts: apt
|
Conflicts: apt
|
||||||
Replaces: apt
|
Replaces: apt
|
||||||
Priority: important
|
Priority: important
|
||||||
|
|||||||
3
build.sh
3
build.sh
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p OYO/opt/durapps/oyo/yoyo-getfastmirror
|
mkdir -p OYO/opt/durapps/oyo/yoyo-getfastmirror
|
||||||
cd yoyo-getfastmirror
|
cd yoyo-getfastmirror
|
||||||
|
dart pub get
|
||||||
./release.sh
|
./release.sh
|
||||||
mv release/yoyo-getfastmirror ../OYO/opt/durapps/oyo/yoyo-getfastmirror -u
|
mv release/yoyo-getfastmirror ../OYO/opt/durapps/oyo/yoyo-getfastmirror -u
|
||||||
cd ../OYO
|
cd ../OYO
|
||||||
fakeroot dpkg -b . ..
|
fakeroot dpkg -b . ..
|
||||||
rm opt/durapps/oyo/yoyo-getfastmirror
|
rm opt/durapps/oyo/yoyo-getfastmirror/*
|
||||||
|
|||||||
Reference in New Issue
Block a user