Changeset 564
- Timestamp:
- 12/16/2011 18:19:05 (5 months ago)
- Location:
- branches/confman-1.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
confsync.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/confman-1.9
- Property svn:mergeinfo changed
/trunk merged: 537-538,540
- Property svn:mergeinfo changed
-
branches/confman-1.9/confsync.in
r556 r564 117 117 last_action=$(conf_lastact) 118 118 119 if [ "x$last_action" = "xinstall" ] && [ $tar_revision -lt $sys_revision ] 120 then 121 echo "Error: File system may be dirty." \ 122 "A commit operation is recommended." >&2 123 echo "Error: $tarpath is out of date. Exiting without making changes." >&2 124 conf_markdirty 125 conf_cleanExit 1 126 fi 127 128 if [ -n "$sys_revision" ] ; then 129 if $FORCE && [ $tar_revision -lt $sys_revision ] ; then 130 echo "Error: $tarpath is out of date. Exiting without making changes." >&2 119 if [ -n "${sys_revision}" ] ; then 120 if [ "${tar_revision}" -lt "${sys_revision}" ]; then 121 echo "Error: ${tarpath} is out of date. Exiting without making changes." >&2 122 conf_markdirty 131 123 conf_cleanExit 1 132 elif ! $FORCE && [ $tar_revision -le $sys_revision ] ; then 133 $QUIET || echo "System is up to date." | conf_logger 134 conf_cleanExit 0 124 elif ! ${FORCE} && [ "${tar_revision}" -eq "${sys_revision}" ]; then 125 if [ "${last_action}" = "commit" -o "${last_action}" = "sync" ]; then 126 ${QUIET} || echo "System is up to date." | conf_logger 127 conf_cleanExit 0 128 fi 135 129 fi 136 130 fi
Note: See TracChangeset
for help on using the changeset viewer.
