1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-06-01 06:33:02 +00:00

Bugfix: Upload a specific deb file

This commit is contained in:
Starbeamrainbowlabs 2019-08-07 20:47:24 +01:00
parent 60faba6252
commit 781d92c89f
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

6
build
View file

@ -91,7 +91,7 @@ task_package() {
PolyFeed/bin/polyfeed=/usr/lib \
polyfeed=/usr/bin/polyfeed;
execute rm -r PolyFeed/bin/polyfeed;
execute dpkg -c *.deb; # We don't know it's name :P
execute dpkg -c "$(ls -ct *.deb | head -n1)"; # We don't know it's name :P
task_end $?;
}
@ -117,9 +117,7 @@ SFTPCOMMANDS
task_upload-release() {
task_begin "Uploading release .deb file(s)";
find . -maxdepth 1 -type f -name "*.deb" -print0 | xargs --null -n1 -I{} bash -c '_upload_deb "{}"';
_upload_deb "$(ls -ct *.deb | head -n1)";
task_end $?;
}