From 79b4192e361f505795c7a75a346cce2a22571c19 Mon Sep 17 00:00:00 2001 From: Chugunov Roman Date: Sat, 18 Nov 2023 22:02:31 +0300 Subject: [PATCH] chore: update build ppa script --- docker/Build_ppa | 12 ++++++------ scripts/build_ppa.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/Build_ppa b/docker/Build_ppa index 344b38a..bc8649e 100644 --- a/docker/Build_ppa +++ b/docker/Build_ppa @@ -10,18 +10,18 @@ ENV USER=root COPY ./build ./build COPY ./gpg ./ -RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/debian/changelog && \ - chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/figma-linux && \ - chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/chrome-sandbox && \ - chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/*.sh && \ +RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}/debian/changelog && \ + chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/figma-linux && \ + chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/chrome-sandbox && \ + chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/*.sh && \ gpg --import --no-tty --batch --yes ./pub.key && \ gpg --import --no-tty --batch --yes ./secret.key && \ gpg -k && \ cp -rf ./id_rsa ~/.ssh && \ chmod 600 ~/.ssh/id_rsa && \ cd ./build/installers/linux-unpacked && \ - tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}.orig.tar.xz ./* && \ - cd ../../figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV} && \ + tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}.orig.tar.xz ./* && \ + cd ../../figma-linux-${FIGMA_LINUX_VERSION} && \ chmod a+x debian/rules debian/postinst debian/postrm && \ EDITOR=/bin/true dpkg-source -q --commit . patchsetname && \ debuild -S -sa -p"gpg --batch --passphrase-file /usr/src/figma-linux/passphrase --pinentry-mode loopback" && \ diff --git a/scripts/build_ppa.sh b/scripts/build_ppa.sh index 3102487..d1c8ea7 100755 --- a/scripts/build_ppa.sh +++ b/scripts/build_ppa.sh @@ -14,7 +14,7 @@ if [ $arch == "aarch64" ]; then linux_unpacked="build/installers/linux-arm64-unpacked"; fi -workdir="build/figma-linux-${version}-${rev}"; +workdir="build/figma-linux-${version}"; mkdir -p $workdir; mkdir -p $workdir/resources/icon;