diff --git a/seed/peertube/manual/image/postinstall/peertube.sh b/seed/peertube/manual/image/postinstall/peertube.sh index 882fe0c3..08f71466 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 -