This commit is contained in:
r4
2022-09-20 00:54:22 +02:00
commit 4195b20e65
33 changed files with 6397 additions and 0 deletions

1
DEBIAN/conffiles Normal file
View File

@@ -0,0 +1 @@
/etc/dischord/config.json

6
DEBIAN/control Normal file
View 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
View 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
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env sh
systemctl disable --now dischord.service || true