diff --git a/Makefile b/Makefile index e64aaf4709..e585f28f50 100644 --- a/Makefile +++ b/Makefile @@ -529,10 +529,10 @@ deb-src-upload: deb-src reprepro: deb mkdir -p $@/conf - cp -a packaging/reprepro/* $@/conf/ - if [ "$(OFFICIAL)" == "yes" ] ; then \ - echo "ask-passphrase" >> $@/conf; \ - sed -i -e 's|^\(Codename:\)|SignWith: $(DEB_GPG_KEY)\n\1|' $@/distributions ; \ + cp -a packaging/reprepro $@/conf + if [ "$(OFFICIAL)" = "yes" ] ; then \ + echo "ask-passphrase" >> $@/conf/options; \ + sed -i -e 's|^\(Codename:\)|SignWith: $(DEB_GPG_KEY)\n\1|' $@/conf/distributions ; \ fi @DEB=deb-build/$(NAME)_$(VERSION)-$(RELEASE)_$(DEB_ARCH).deb ; \ for DIST in trusty precise ; do \