diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 9038d07..0000000 --- a/debian/postinst +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -mv /var/lib/telegram-daemon/test.lua /var/lib/telegram-daemon/script-achat.lua \ No newline at end of file diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index cf633e1..0000000 --- a/debian/postrm +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -deluser telegramd -rm -r /etc/telegram-daemon/ -rm -r /var/log/telegram-daemon/ -rm -r /var/lib/telegram-daemon -rm /etc/init.d/telegram-daemon \ No newline at end of file diff --git a/debian/preinst b/debian/preinst deleted file mode 100644 index 16fc5d3..0000000 --- a/debian/preinst +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -adduser --system --home /var/lib/telegram-daemon/ telegramd - usermod -c "Telegram Daemon" telegramd - usermod -d "/var/lib/telegram-daemon/" telegramd - usermod -g "telegramd" telegramd - usermod -s "/bin/false" telegramd - -mkdir /etc/telegram-daemon/ -mkdir /var/log/telegram-daemon/ -touch /etc/telegram-daemon/telegram-daemon.achat.conf -echo "execute telegram-cli" > /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-d" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-vvvv" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-E" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-R" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-D" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-C" >> /etc/telegram-daemon/telegram-daemon.achat.conf -echo "-P 2391" >> /etc/telegram-daemon/telegram-daemon.achat.conf -touch /var/lib/telegram-daemon/script-achat.lua \ No newline at end of file