fix missing dpkg-sig

This commit is contained in:
Malte Jürgens 2023-06-12 19:02:02 +02:00
parent b737e5783f
commit 8e511a8753
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ ENV TZ=Europe/Amsterdam
# dependencies needed to run ./mach bootstrap
RUN ( apt-get -y update && apt-get -y upgrade && apt-get -y install python3 python3-dev python3-pip wget dpkg-sig ; true)
RUN ( apt-get -y update && apt-get -y upgrade && apt-get -y install python3 python3-dev python3-pip wget ; apt-get -y install dpkg-sig; true)
RUN ( dnf -y upgrade && dnf -y install python3 python3-devel gcc wget rpm-build rpm-sign ; true)
RUN ( zypper -n in mercurial python3 python3-pip python3-devel wget rpm-build ; true)

View file

@ -47,8 +47,8 @@ cp -v ../librewolf.desktop usr/share/applications/librewolf.desktop
cd ..
dpkg-deb --build librewolf
# Sign the deb file if private key is provided
if [[ -f pk.asc ]]; then
# Sign the deb file if private key is provided and we have dpkg-sig available
if [[ -f pk.asc ]] && command -v dpkg-sig &>/dev/null; then
gpg --import pk.asc
dpkg-sig --sign builder librewolf.deb
fi