optimise sign

This commit is contained in:
ferrreo 2023-09-05 12:45:07 +01:00
parent 0aedcacea7
commit 983b0db171
3 changed files with 5 additions and 3 deletions

BIN
ppp

Binary file not shown.

View File

@ -167,15 +167,15 @@ func signFiles(path string) {
count := 0
totalCount := len(files)
filePath := ""
filePath := "\""
for _, file := range files {
totalCount--
if count < 10 && totalCount > 0 {
if count < 100 && totalCount > 0 {
count++
filePath = filePath + " " + path + file
} else {
count = 0
filePath = filePath + " " + path + file
filePath = filePath + " " + path + file + "\""
signQueue <- filePath
}
}

View File

@ -16,8 +16,10 @@ apt upgrade -y
apt install dpkg-sig wget rsync ssh -y
# 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/ ./
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/ ./
# # Get ubuntu multiverse pool