mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Linuxpackager to use /dist directory
This commit is contained in:
		
							parent
							
								
									2ed2790550
								
							
						
					
					
						commit
						34f0815319
					
				@ -28,11 +28,14 @@ npm ci --unsafe-perm=true --allow-root
 | 
			
		||||
echo ">>> Packaging"
 | 
			
		||||
echo "--------------------"
 | 
			
		||||
 | 
			
		||||
pkg -t node12-linux-x64 -o build/debian/usr/share/audiobookshelf/audiobookshelf .
 | 
			
		||||
mkdir -p dist
 | 
			
		||||
cp -R build/debian dist/debian
 | 
			
		||||
 | 
			
		||||
fakeroot dpkg-deb --build build/debian
 | 
			
		||||
pkg -t node12-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf .
 | 
			
		||||
 | 
			
		||||
mv build/debian.deb "build/$OUTPUT_FILE"
 | 
			
		||||
chmod +x "build/$OUTPUT_FILE"
 | 
			
		||||
fakeroot dpkg-deb --build dist/debian
 | 
			
		||||
 | 
			
		||||
mv dist/debian.deb "dist/$OUTPUT_FILE"
 | 
			
		||||
chmod +x "dist/$OUTPUT_FILE"
 | 
			
		||||
 | 
			
		||||
echo "Finished! Filename: $OUTPUT_FILE"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user