init
This commit is contained in:
		
							
								
								
									
										1
									
								
								DEBIAN/conffiles
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								DEBIAN/conffiles
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/etc/dischord/config.json
 | 
			
		||||
							
								
								
									
										6
									
								
								DEBIAN/control
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								DEBIAN/control
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
Package: dischord
 | 
			
		||||
Version: 0.1
 | 
			
		||||
Maintainer: r4
 | 
			
		||||
Architecture: amd64
 | 
			
		||||
Description: Discord music bot, supports YouTube, Spotify and many other sites
 | 
			
		||||
Depends: youtube-dl, ffmpeg
 | 
			
		||||
							
								
								
									
										5
									
								
								DEBIAN/postinst
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								DEBIAN/postinst
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
cd /etc/dischord
 | 
			
		||||
dischord -wizard -quit_after_wizard
 | 
			
		||||
cd -
 | 
			
		||||
systemctl enable --now dischord.service
 | 
			
		||||
							
								
								
									
										2
									
								
								DEBIAN/prerm
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								DEBIAN/prerm
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
systemctl disable --now dischord.service || true
 | 
			
		||||
		Reference in New Issue
	
	Block a user