[yast-commit] r63460 - /trunk/yast2/scripts/yast2
Author: aschnell Date: Wed Feb 23 12:41:57 2011 New Revision: 63460 URL: http://svn.opensuse.org/viewcvs/yast?rev=63460&view=rev Log: - added cleanup option to snapper calls Modified: trunk/yast2/scripts/yast2 Modified: trunk/yast2/scripts/yast2 URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/scripts/yast2?rev=63460&r1=63459&r2=63460&view=diff ============================================================================== --- trunk/yast2/scripts/yast2 (original) +++ trunk/yast2/scripts/yast2 Wed Feb 23 12:41:57 2011 @@ -215,7 +215,7 @@ { if [ "$1" != "menu" ] ; then if [ "$USE_SNAPPER" = "yes" -a -x $SNAPPERBIN ] ; then - SNAPSHOT_NUMBER=`$SNAPPERBIN create --type=pre --print-number --description="yast $1"` + SNAPSHOT_NUMBER=`$SNAPPERBIN create --type=pre --cleanup=amount --print-number --description="yast $1"` fi fi } @@ -224,7 +224,7 @@ { if [ "$1" != "menu" ] ; then if [ "$USE_SNAPPER" = "yes" -a -x $SNAPPERBIN ] ; then - $SNAPPERBIN create --type=post --pre-number=$SNAPSHOT_NUMBER + $SNAPPERBIN create --type=post --cleanup=amount --pre-number=$SNAPSHOT_NUMBER fi fi } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org