mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 22:58:14 +00:00
use new repoman for upload target
This commit is contained in:
parent
cfabc2e9b3
commit
d7b4925a04
9
Makefile
9
Makefile
@ -256,14 +256,7 @@ ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}: index.html ${INDEX_INCLUDES} ${WIKI_IMPO
|
|||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}
|
upload: ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}
|
||||||
umount /pve/${DOCRELEASE}; mount /pve/${DOCRELEASE} -o rw
|
tar cf - ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB} | ssh repoman@repo.proxmox.com upload
|
||||||
mkdir -p /pve/${DOCRELEASE}/extra
|
|
||||||
rm -f /pve/${DOCRELEASE}/extra/${GEN_PACKAGE}_*.deb
|
|
||||||
rm -f /pve/${DOCRELEASE}/extra/${DOC_PACKAGE}_*.deb
|
|
||||||
rm -f /pve/${DOCRELEASE}/extra/Packages*
|
|
||||||
cp ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB} /pve/${DOCRELEASE}/extra
|
|
||||||
cd /pve/${DOCRELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
|
|
||||||
umount /pve/${DOCRELEASE}; mount /pve/${DOCRELEASE} -o ro
|
|
||||||
|
|
||||||
.PHONY: update
|
.PHONY: update
|
||||||
update: clean
|
update: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user