From 703ed7f31804fdc3b7e5978cde85690f3c24b979 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 15 Nov 2014 21:46:33 +0100 Subject: [PATCH] add a script to copy everything to testing --- bin/opsi-all-testing.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/opsi-all-testing.sh b/bin/opsi-all-testing.sh index f801b5f..4e5c39e 100755 --- a/bin/opsi-all-testing.sh +++ b/bin/opsi-all-testing.sh @@ -56,13 +56,8 @@ for pkg_root in public restricted ; do #for cfg_sort_file in `head -n-1 ${file_sort_list}` ; do for cfg_sort_file in `tail -n 1 ${file_sort_list}` ; do . ${cfg_file} - if [ -z "${REV_NAME}" ];then - NAME="${REV_PN}" - else - NAME="${REV_NAME}" - fi - echo "${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name $NAME --type ${pkg_root} --from integration --to testing --version $REV_VERSION-$REV_CREATOR_TAG$REV_RELEASE --purge" - ${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name $NAME --type ${pkg_root} --from integration --to testing --version $REV_VERSION-$REV_CREATOR_TAG$REV_RELEASE --purge + echo "${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge" + ${BIN_DIR}/opsi-administration.sh --root ${OPSI_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge done done done