Update ubuntu.sh
This commit is contained in:
parent
5511438275
commit
4e7e23e4ed
10
ubuntu.sh
10
ubuntu.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user