1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Install root-owned as /usr/local/libexec/foundationpkgs-apt.
# Never inherit CI-controlled shell/interpreter/GPG configuration into the signer.
cd /var/lib/foundationpkgs-publisher || exit 1
exec /usr/bin/env -i \
HOME=/var/lib/foundationpkgs-publisher \
GNUPGHOME=/var/lib/foundationpkgs-publisher/gnupg \
PATH=/usr/bin:/bin LC_ALL=C \
FPKGS_APT_ROOT=/var/lib/foundationpkgs-publisher \
/bin/sh /usr/local/libexec/foundationpkgs-publisher/publish-apt.sh "$@"
: nply/foundationpkgs-binaries