optimise sign
This commit is contained in:
parent
0aedcacea7
commit
983b0db171
@ -167,15 +167,15 @@ func signFiles(path string) {
|
|||||||
|
|
||||||
count := 0
|
count := 0
|
||||||
totalCount := len(files)
|
totalCount := len(files)
|
||||||
filePath := ""
|
filePath := "\""
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
totalCount--
|
totalCount--
|
||||||
if count < 10 && totalCount > 0 {
|
if count < 100 && totalCount > 0 {
|
||||||
count++
|
count++
|
||||||
filePath = filePath + " " + path + file
|
filePath = filePath + " " + path + file
|
||||||
} else {
|
} else {
|
||||||
count = 0
|
count = 0
|
||||||
filePath = filePath + " " + path + file
|
filePath = filePath + " " + path + file + "\""
|
||||||
signQueue <- filePath
|
signQueue <- filePath
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,8 +16,10 @@ apt upgrade -y
|
|||||||
apt install dpkg-sig wget rsync ssh -y
|
apt install dpkg-sig wget rsync ssh -y
|
||||||
|
|
||||||
# Get ubuntu main pool
|
# Get ubuntu main pool
|
||||||
|
echo "Getting ubuntu main pool 32bit"
|
||||||
../../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
|
../../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-i386/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-i386/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
|
||||||
rm -rfv ./*all.deb
|
rm -rfv ./*all.deb
|
||||||
|
echo "Getting ubuntu main pool 64bit"
|
||||||
../../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
|
../../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/main/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./
|
||||||
|
|
||||||
# # Get ubuntu multiverse pool
|
# # Get ubuntu multiverse pool
|
||||||
|
Loading…
Reference in New Issue
Block a user