add a script to copy everything to testing

This commit is contained in:
Mario Fetka 2014-11-15 22:27:23 +01:00
parent be8b0dc695
commit 598c078ab4
1 changed files with 3 additions and 3 deletions

View File

@ -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