fix install.sh

This commit is contained in:
Simon Ungar Felding 2025-02-17 18:32:55 +01:00
parent c19d769962
commit 16f039bf33
3 changed files with 3 additions and 6 deletions

View File

@ -2,9 +2,6 @@ name: update check
on: on:
push: push:
branches:
- master
- dev
paths: paths:
- .github/workflows/update-check.yaml - .github/workflows/update-check.yaml
- update-check.py - update-check.py

View File

@ -3,7 +3,7 @@
FROM debian:sid-slim AS build FROM debian:sid-slim AS build
COPY install.sh RELEASE / COPY install.sh PACKAGE /
RUN apt-get update && apt-get install -y wget binutils RUN apt-get update && apt-get install -y wget binutils
# Repack deb (removes unnecessary dependencies and produces /protonmail.deb) # Repack deb (removes unnecessary dependencies and produces /protonmail.deb)
@ -18,7 +18,7 @@ EXPOSE 143/tcp
WORKDIR /protonmail WORKDIR /protonmail
# Copy bash scripts # Copy bash scripts
COPY gpgparams entrypoint.sh RELEASE /protonmail/ COPY gpgparams entrypoint.sh PACKAGE /protonmail/
COPY --from=build /protonmail.deb /tmp/protonmail.deb COPY --from=build /protonmail.deb /tmp/protonmail.deb
RUN apt-get update \ RUN apt-get update \

View File

@ -3,7 +3,7 @@ set -ex
# Repack deb (remove unnecessary dependencies) # Repack deb (remove unnecessary dependencies)
mkdir deb mkdir deb
wget -i "$RELEASE" -O /deb/protonmail.deb wget -i /PACKAGE -O /deb/protonmail.deb
cd deb cd deb
ar x -v protonmail.deb ar x -v protonmail.deb
mkdir control mkdir control