Remove Systemd block

remove_systemd_block
Nicolas Arenas 2025-08-07 10:25:04 +02:00
parent 2ad4848a5e
commit ef8112b8c1
1 changed files with 0 additions and 9 deletions

View File

@ -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