add a script to copy everything to testing

This commit is contained in:
Mario Fetka 2014-11-15 21:46:33 +01:00
parent 4518b22c39
commit 703ed7f318

View File

@ -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 `head -n-1 ${file_sort_list}` ; do
for cfg_sort_file in `tail -n 1 ${file_sort_list}` ; do for cfg_sort_file in `tail -n 1 ${file_sort_list}` ; do
. ${cfg_file} . ${cfg_file}
if [ -z "${REV_NAME}" ];then 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"
NAME="${REV_PN}" ${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
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
done done
done done
done done