From 598c078ab4e946d5a8141087d20adff905aa7ae1 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 15 Nov 2014 22:27:23 +0100 Subject: [PATCH] add a script to copy everything to testing --- bin/opsi-all-testing.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/opsi-all-testing.sh b/bin/opsi-all-testing.sh index 71e32cf..fa3f610 100755 --- a/bin/opsi-all-testing.sh +++ b/bin/opsi-all-testing.sh @@ -53,9 +53,9 @@ for pkg_root in public restricted ; do done # Delete the oldest files - 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} + #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_sort_file} echo "${BIN_DIR}/opsi-administration.sh --root ${OPSI_WEB_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_WEB_ROOT} --name ${REV_PN} --type ${pkg_root} --from integration --to testing --version ${REV_VERSION}-${REV_CREATOR_TAG}${REV_RELEASE} --purge done