From c2d692d57a14d2438a598a9f293961410d76d47f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Oct 2024 15:24:59 -0500 Subject: [PATCH] Update instance.sh --- instance.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/instance.sh b/instance.sh index fcfba61..4552cd4 100755 --- a/instance.sh +++ b/instance.sh @@ -141,10 +141,7 @@ new_instance() { mkdir $OCTOCONFIG/$INSTANCE - cat $SCRIPTDIR/docker-compose.yml | \ - sed -e "s/NEWINSTANCE/$INSTANCE/" \ - -e "s/CAMPORT/$CAMPORT/" > \ - -e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml + cat $SCRIPTDIR/docker-compose.yml | sed -e "s/NEWINSTANCE/$INSTANCE/" -e "s/CAMPORT/$CAMPORT/" -e "s/NEWPORT/$PORT/" > $OCTOCONFIG/$INSTANCE/docker-compose.yml #write phase if [ -n "$UDEV" ] || [ -n "$USB" ]; then