OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-re Date: 08-Feb-2004 20:45:42 Branch: HEAD Handle: 2004020819454200 Modified files: openpkg-re openpkg-dev Log: news.txt is now auto-generated on the website, so no need to edit it manually any longer Summary: Revision Changes Path 1.154 +0 -27 openpkg-re/openpkg-dev ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/openpkg-dev ============================================================================ $ cvs diff -u -r1.153 -r1.154 openpkg-dev --- openpkg-re/openpkg-dev 6 Feb 2004 07:21:23 -0000 1.153 +++ openpkg-re/openpkg-dev 8 Feb 2004 19:45:42 -0000 1.154 @@ -1223,28 +1223,6 @@ fi fi - if [ ${dry} -eq 0 ]; then - (cd ${OPENPKG_WORK}; cvs -d ${OPENPKG_REPO} up web/news.txt) >/dev/null 2>&1 - else - (cd ${OPENPKG_WORK}; cvs -d ${OPENPKG_REPO} -n up web/news.txt) >/dev/null 2>&1 - fi - if [ ".${rpm_version_old}" = . -a ".${rpm_version_new}" != . ]; then - package_type="New" - else - package_type="Upgraded" - fi - entry="`date +%d-%b-%Y`: ${package_type} package: P<${rpmfile}>" - grep "${entry}" ${OPENPKG_WORK}/web/news.txt >/dev/null - if [ $? -ne 0 ]; then - echo "++ updating news.txt" - if [ ${dry} -eq 0 ]; then - (echo "${entry}"; cat ${OPENPKG_WORK}/web/news.txt) >${OPENPKG_WORK}/web/news.txt${GUID} - mv ${OPENPKG_WORK}/web/news.txt${GUID} ${OPENPKG_WORK}/web/news.txt - else - (echo "${entry}") - fi - fi - echo "++ determining commit message" if [ ".$msg" = . ]; then if [ ".${rpm_version_old}" = . \ @@ -1274,11 +1252,6 @@ echo "++ determining commit file list" files="src/${name}" - for file in web/news.txt; do - if [ -f "${OPENPKG_WORK}/$file" ]; then - files="$files $file" - fi - done echo "++ comitting changes to CVS repository" cd "${OPENPKG_WORK}" || die "cannot cd to ${OPENPKG_WORK}" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]