mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Fix linuxpackager control file
This commit is contained in:
parent
740f6966ba
commit
341de6a196
@ -30,6 +30,11 @@ echo ">>> Packaging"
|
|||||||
echo "--------------------"
|
echo "--------------------"
|
||||||
|
|
||||||
# Create debian control file
|
# Create debian control file
|
||||||
|
|
||||||
|
mkdir -p dist
|
||||||
|
cp -R build/debian dist/debian
|
||||||
|
chmod -R 775 build/debian
|
||||||
|
|
||||||
controlfile="Package: audiobookshelf
|
controlfile="Package: audiobookshelf
|
||||||
Version: $VERSION
|
Version: $VERSION
|
||||||
Section: base
|
Section: base
|
||||||
@ -41,10 +46,6 @@ Description: $DESCRIPTION"
|
|||||||
|
|
||||||
echo "$config_text" > dist/debian/DEBIAN/control;
|
echo "$config_text" > dist/debian/DEBIAN/control;
|
||||||
|
|
||||||
mkdir -p dist
|
|
||||||
cp -R build/debian dist/debian
|
|
||||||
chmod -R 775 build/debian
|
|
||||||
|
|
||||||
# Package debian
|
# Package debian
|
||||||
pkg -t node12-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf .
|
pkg -t node12-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user