Skip to content

Commit 79b4192

Browse files
committed
chore: update build ppa script
1 parent 3f5a570 commit 79b4192

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docker/Build_ppa

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ ENV USER=root
1010
COPY ./build ./build
1111
COPY ./gpg ./
1212

13-
RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/debian/changelog && \
14-
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/figma-linux && \
15-
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/chrome-sandbox && \
16-
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/*.sh && \
13+
RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}/debian/changelog && \
14+
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/figma-linux && \
15+
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/chrome-sandbox && \
16+
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/*.sh && \
1717
gpg --import --no-tty --batch --yes ./pub.key && \
1818
gpg --import --no-tty --batch --yes ./secret.key && \
1919
gpg -k && \
2020
cp -rf ./id_rsa ~/.ssh && \
2121
chmod 600 ~/.ssh/id_rsa && \
2222
cd ./build/installers/linux-unpacked && \
23-
tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}.orig.tar.xz ./* && \
24-
cd ../../figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV} && \
23+
tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}.orig.tar.xz ./* && \
24+
cd ../../figma-linux-${FIGMA_LINUX_VERSION} && \
2525
chmod a+x debian/rules debian/postinst debian/postrm && \
2626
EDITOR=/bin/true dpkg-source -q --commit . patchsetname && \
2727
debuild -S -sa -p"gpg --batch --passphrase-file /usr/src/figma-linux/passphrase --pinentry-mode loopback" && \

scripts/build_ppa.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ $arch == "aarch64" ]; then
1414
linux_unpacked="build/installers/linux-arm64-unpacked";
1515
fi
1616

17-
workdir="build/figma-linux-${version}-${rev}";
17+
workdir="build/figma-linux-${version}";
1818
mkdir -p $workdir;
1919
mkdir -p $workdir/resources/icon;
2020

0 commit comments

Comments
 (0)