From 77d8c350b74be924afdcf05cfb43e2a2673a36c0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 6 Dec 2024 16:22:05 +0100 Subject: [PATCH] Remove duplicated code --- .../Common/Software/docker/services/jellyfin/main.fish | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/Common/Software/docker/services/jellyfin/main.fish b/scripts/Common/Software/docker/services/jellyfin/main.fish index 39931cf5..0a82a54a 100755 --- a/scripts/Common/Software/docker/services/jellyfin/main.fish +++ b/scripts/Common/Software/docker/services/jellyfin/main.fish @@ -31,7 +31,6 @@ begin set -l port set -l file (mktemp) set -l root (getServiceRoot $argv) - set -l bin /usr/local/bin/forgejo set -l config "$root/docker-compose.base.yml" set -l overrides (getServiceOverrides $argv) set -l envKey "$(getServiceKey "$service").environment" @@ -72,14 +71,6 @@ begin end rm "$file" - - begin - printf "%s\n" \ - "#!/bin/sh" \ - "ssh -p $port -o StrictHostKeyChecking=no git@127.0.0.1 \"SSH_ORIGINAL_COMMAND=\\\"$SSH_ORIGINAL_COMMAND\\\" \$0 \$@\"" - end | sudo tee "$bin" >/dev/null - - chmod +x "$bin" end function getServiceServers -V server