diff --git a/build/linuxpackager b/build/linuxpackager index e8340abd..d827c617 100755 --- a/build/linuxpackager +++ b/build/linuxpackager @@ -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 .