Moved build over to Python setuptools and Debian dh_python

This commit is contained in:
bj
2020-10-08 15:20:42 +02:00
parent c3506607c4
commit a9aca4da54
37 changed files with 226 additions and 926 deletions
+6 -7
View File
@@ -49,15 +49,14 @@ configure_tor_controller() {
case "$1" in
configure)
if ! getent passwd $USER >/dev/null ; then
useradd -r -g $GROUP $USER
fi
if ! getent passwd $USER >/dev/null ; then
useradd -r -g $GROUP $USER
fi
chown $USER /etc/torch
chown $USER /etc/torch/torch.conf
chown $USER /usr/share/torch-agent/torch-agent.py
chown $USER /etc/torch
chown $USER /etc/torch/torch.conf
configure_tor_controller
configure_tor_controller
;;
abort-upgrade|abort-remove|abort-deconfigure)