mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 09:37:28 +01:00
sudo -u
This commit is contained in:
parent
b27f3c1881
commit
a2e6b600e6
@ -58,6 +58,14 @@ if [[ -n "$SRC_RPM_DIR" && -n "$BIN_RPM_DIR" ]]; then
|
|||||||
|
|
||||||
rm -rf "$STAGING_RPM_DIR" "$HOME/.koji"
|
rm -rf "$STAGING_RPM_DIR" "$HOME/.koji"
|
||||||
fi
|
fi
|
||||||
|
# for RELEASE in (10 11) ; do
|
||||||
|
# PKGMANAGER = "dnf"
|
||||||
|
# if [[ $RELEASE == 10 ]] ; then PKGMANAGER = "yum" ; fi
|
||||||
|
# for REPO in (os contribs addons updates updates-testing testing) ; do
|
||||||
|
# TAG = "sme$RELEASE-$REPO"
|
||||||
|
# sudo -u kojiadmin koji add-tag dist-"$TAG"
|
||||||
|
# sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.package_manager=$PKGMANAGER
|
||||||
|
|
||||||
for TAG in ${TAG_NAME} ; do
|
for TAG in ${TAG_NAME} ; do
|
||||||
sudo -u kojiadmin koji add-tag dist-"$TAG"
|
sudo -u kojiadmin koji add-tag dist-"$TAG"
|
||||||
if [[ $TAG == "smeos10" || $TAG == "smecontribs10" ]] ; then
|
if [[ $TAG == "smeos10" || $TAG == "smecontribs10" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user