From 93ed32e22c766d76d37b810a0b68f15d5ff9a9a3 Mon Sep 17 00:00:00 2001 From: caignard2013 <colgatto@packer-output-a1ee024f-8159-48df-bb7c-514106a2d1f3> Date: Wed, 3 Aug 2022 05:37:08 +0000 Subject: [PATCH] =?UTF-8?q?j'ai=20pas=20install=C3=A9=20python=20bordel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stpkg b/stpkg index 1c3de3d..5da9110 100755 --- a/stpkg +++ b/stpkg @@ -185,7 +185,7 @@ upload_file() { # TODO: Use jq here curl -s -X POST -H \ "Content-Type: image/$TYPE" --data-binary "@$DEST" "https://$STPKG_HOMESERV/_matrix/media/r0/upload?access_token=$STPKG_TOKEN" | \ - tee /tmp/toto | python -c "import sys, json; print(json.load(sys.stdin)['content_uri'])" + tee /tmp/toto | python3 -c "import sys, json; print(json.load(sys.stdin)['content_uri'])" [ $? -ne 0 ] && die "Failed to upload sticker $NAME for pack $PACK_NAME to $STPKG_HOMESERV" } -- GitLab