diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-10-07 21:17:55 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2024-10-07 21:17:55 +0200 |
commit | 4c78786737534ba658e3b33230b364850e31fbb5 (patch) | |
tree | 80807b0ca0d51fd286ab5939dcdefb65dc558e5a /redhat/build/update_repository.sh | |
parent | e81c987a3b55cab388b89f647b807414648ad6b8 (diff) | |
download | tde-packaging-4c78786737534ba658e3b33230b364850e31fbb5.tar.gz tde-packaging-4c78786737534ba658e3b33230b364850e31fbb5.zip |
RPM: many updates for upcoming R14.1.3
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build/update_repository.sh')
-rwxr-xr-x | redhat/build/update_repository.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/update_repository.sh b/redhat/build/update_repository.sh index 5a8a13eb4..6530efc63 100755 --- a/redhat/build/update_repository.sh +++ b/redhat/build/update_repository.sh @@ -28,7 +28,7 @@ elif [ -x /usr/bin/dnf ]; then REPOUPDATE='(cd ${RPMDIR}; ${createrepo} --workers=${WORKERS} ${ARCH} & ${createrepo} --workers=${WORKERS} noarch & wait; sudo dnf --repo="rpmbuild*" clean expire-cache)' elif [ -x /usr/bin/zypper ]; then REPOUPDATE='(cd ${RPMDIR}; ${createrepo} --workers=${WORKERS} ${ARCH} & ${createrepo} --workers=${WORKERS} noarch & wait; sudo zypper refresh rpmbuild.${ARCH} rpmbuild.noarch)' - #REPOUPDATE='(rsync -av ${RPMDIR}/ /tmp/rpm${DIST}/ && cd /tmp/rpm${DIST}; umask 0000; ${createrepo} --workers=${WORKERS} ${ARCH} & ${createrepo} --workers=${WORKERS} noarch & wait; rsync -av /tmp/rpm${DIST}/ ${RPMDIR}/; sudo zypper refresh rpmbuild.${ARCH} rpmbuild.noarch)' + REPOUPDATE='(rsync -av ${RPMDIR}/ /tmp/rpm${DIST}/ && cd /tmp/rpm${DIST}; umask 0000; ${createrepo} --workers=${WORKERS} ${ARCH} & ${createrepo} --workers=${WORKERS} noarch & wait; rsync -av /tmp/rpm${DIST}/ ${RPMDIR}/; sudo zypper refresh rpmbuild.${ARCH} rpmbuild.noarch)' elif [ -x /usr/bin/yum ]; then if [ "${DIST}" = ".el5" ]; then REPOUPDATE='(cd ${RPMDIR}; ${createrepo} ${ARCH} & ${createrepo} noarch & wait; sudo yum clean metadata --disablerepo="*" --enablerepo="rpmbuild*")' |