add a script to copy everything to testing

This commit is contained in:
Mario Fetka 2014-11-15 22:24:08 +01:00
parent 1a65aa3be2
commit be8b0dc695
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ 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
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}
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