diff --git a/ppp b/ppp index 9c6315f..2fc93ff 100755 Binary files a/ppp and b/ppp differ diff --git a/src/main.go b/src/main.go index 2dfb2aa..a469b0e 100644 --- a/src/main.go +++ b/src/main.go @@ -167,15 +167,15 @@ func signFiles(path string) { count := 0 totalCount := len(files) - filePath := "\"" + filePath := "" for _, file := range files { totalCount-- - if count < 100 && totalCount > 0 { + if count < 10 && totalCount > 0 { count++ filePath = filePath + " " + path + file } else { count = 0 - filePath = filePath + " " + path + file + "\"" + filePath = filePath + " " + path + file signQueue <- filePath } } diff --git a/ubuntu.sh b/ubuntu.sh index 5943341..af0fa82 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -39,7 +39,7 @@ echo "Getting ubuntu main pool 64bit" cd ../ -if [ ! -e ./output/*.deb ]; then +if [ $(ls | wc -l) -l 1 ]; then echo "Repos are synced" exit 0 fi