Update:Debian packager script to use xz compression instead of zstd

This commit is contained in:
advplyr 2024-02-25 12:56:04 -06:00
parent 24c35dede5
commit 3a99cc56b7

View File

@ -50,9 +50,8 @@ echo "$controlfile" > dist/debian/DEBIAN/control;
# Package debian # Package debian
pkg -t node18-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf . pkg -t node18-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf .
fakeroot dpkg-deb --build dist/debian fakeroot dpkg-deb -Zxz --build dist/debian
mv dist/debian.deb "dist/$OUTPUT_FILE" mv dist/debian.deb "dist/$OUTPUT_FILE"
chmod +x "dist/$OUTPUT_FILE"
echo "Finished! Filename: $OUTPUT_FILE" echo "Finished! Filename: $OUTPUT_FILE"