Update ubuntu.sh

This commit is contained in:
ferrreo 2023-09-04 22:50:34 +01:00 committed by GitHub
parent 5511438275
commit 4e7e23e4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@ set -e
# Give correct perms to Apt version checker # Give correct perms to Apt version checker
chmod 755 ./ppp chmod 755 ./ppp
# ubuntu MIRROR # output folders
mkdir -p ./output/ubuntu mkdir -p ./output/output
cd ./output/ubuntu cd ./output/output
# temp # temp
apt update apt update
@ -107,10 +107,8 @@ else
exit 0 exit 0
fi fi
# Return to ubuntu MIRROR # Return to output
cd ../ cd ../
mkdir -p ./output
find . -name \*.deb -exec cp -vf {} ./output \;
# Sign the packages # Sign the packages
for f in ./output/*.deb; do dpkg-sig --sign builder "$f"; done for f in ./output/*.deb; do dpkg-sig --sign builder "$f"; done