fix missing dpkg-sig
This commit is contained in:
parent
b737e5783f
commit
8e511a8753
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue