From ef8112b8c1639ff8f6c5ea1782f03fed1319c523 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 7 Aug 2025 10:25:04 +0200 Subject: [PATCH] Remove Systemd block --- debian/ogrepository.postinst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/debian/ogrepository.postinst b/debian/ogrepository.postinst index f4b344e..c10183d 100755 --- a/debian/ogrepository.postinst +++ b/debian/ogrepository.postinst @@ -53,15 +53,6 @@ USER="opengnsys" # done # " if [ "$1" = "configure" ] && [ -z "$2" ]; then - systemd-run --no-block /bin/bash -c " -sleep 10; -apt update -y; -for pkg in bittorrent bittornado ctorrent; do - if ! dpkg -l | grep -qw \"\$pkg\"; then - apt install -y \"\$pkg\" - fi -done -" sed -i "s/%%OGREPOSITORY_USER%%/$SAMBA_USER/g" /etc/systemd/system/ogrepo-api.service sed -i "s/%%OGREPOSITORY_USER%%/$SAMBA_USER/g" /etc/samba/ogrepo-smb.conf