Fix linuxpackager control file

This commit is contained in:
Mark Cooper 2021-09-25 17:10:02 -05:00
parent 740f6966ba
commit 341de6a196

View File

@ -30,6 +30,11 @@ echo ">>> Packaging"
echo "--------------------"
# Create debian control file
mkdir -p dist
cp -R build/debian dist/debian
chmod -R 775 build/debian
controlfile="Package: audiobookshelf
Version: $VERSION
Section: base
@ -41,10 +46,6 @@ Description: $DESCRIPTION"
echo "$config_text" > dist/debian/DEBIAN/control;
mkdir -p dist
cp -R build/debian dist/debian
chmod -R 775 build/debian
# Package debian
pkg -t node12-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf .