From dd4d51c53c90c66c8d78514f0fbff851196c11cb Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 1 Oct 2022 19:10:05 +0200 Subject: [PATCH] change directory path for patch --- seed/peertube/manual/image/postinstall/peertube.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/seed/peertube/manual/image/postinstall/peertube.sh b/seed/peertube/manual/image/postinstall/peertube.sh index 882fe0c..08f7146 100644 --- a/seed/peertube/manual/image/postinstall/peertube.sh +++ b/seed/peertube/manual/image/postinstall/peertube.sh @@ -1,5 +1,3 @@ -#!/bin/bash - mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/" cat /proc/self/stat > "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/stat" PLUGINS_DIR=/usr/share/peertube_plugins @@ -25,5 +23,5 @@ rmdir "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/" rm -f "$IMAGE_NAME_RISOTTO_IMAGE_DIR/install.sh" cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR$PLUGINS_DIR/.." -patch -p0 < $OLDPWD/peertube/manual/postinstall/peertube.patch +patch -p0 < "$IMAGE_DIR_RECIPIENT_IMAGE/postinstall/peertube.patch" cd -