View | Details | Raw Unified | Return to bug 194424
Collapse All | Expand All

(-)yast2-online-update.spec.in (-1 / +6 lines)
Lines 26-34 Link Here
26
26
27
%post
27
%post
28
if [ -f /etc/cron.d/yast2-online-update ] ; then
28
if [ -f /etc/cron.d/yast2-online-update ] ; then
29
    cronjob=`grep "rug up -t patch" /etc/cron.d/yast2-online-update 2>/dev/null | grep -v "\-y"`
30
    if [ -n "$cronjob"  ] ; then
31
	# do not ask for confirmation
32
	sed -e "s/rug up/rug up -y/" -i /etc/cron.d/yast2-online-update
33
    fi
29
    cronjob=`grep "online_update" /etc/cron.d/yast2-online-update 2>/dev/null`
34
    cronjob=`grep "online_update" /etc/cron.d/yast2-online-update 2>/dev/null`
30
    if [ -n "$cronjob"  ] ; then
35
    if [ -n "$cronjob"  ] ; then
31
	sed -e "s/online_update/rug up -t patch/" -i /etc/cron.d/yast2-online-update
36
	sed -e "s/online_update/rug up -y -t patch/" -i /etc/cron.d/yast2-online-update
32
	if [ "`echo "$cronjob" | grep -c " -g" 2>/dev/null`" -gt 0 ] ; then
37
	if [ "`echo "$cronjob" | grep -c " -g" 2>/dev/null`" -gt 0 ] ; then
33
	    sed -e "s/ -g/ -d/" -i /etc/cron.d/yast2-online-update
38
	    sed -e "s/ -g/ -d/" -i /etc/cron.d/yast2-online-update
34
	fi
39
	fi
(-)VERSION (-1 / +1 lines)
Line 1 Link Here
1
2.13.43
1
2.13.44
(-)src/AutoOnlineUpdate.ycp (-2 / +2 lines)
Lines 164-173 Link Here
164
164
165
    string cronjob = "";
165
    string cronjob = "";
166
    if (timing == `weekly && day >= 0 && day <= 7) {
166
    if (timing == `weekly && day >= 0 && day <= 7) {
167
        cronjob = sformat( "%1 %2 * * %3 root rug up -t patch %4", minute, hour,
167
        cronjob = sformat( "%1 %2 * * %3 root rug up -y -t patch %4", minute, hour,
168
                day, options );
168
                day, options );
169
    } else {
169
    } else {
170
        cronjob = sformat( "%1 %2 * * * root rug up -t patch %3", minute, hour,
170
        cronjob = sformat( "%1 %2 * * * root rug up -y -t patch %3", minute, hour,
171
                options );
171
                options );
172
    }
172
    }
173
    if ( autoget ) cronjob = cronjob + " -d";
173
    if ( autoget ) cronjob = cronjob + " -d";
(-)package/yast2-online-update.changes (+6 lines)
Lines 1-4 Link Here
1
-------------------------------------------------------------------
1
-------------------------------------------------------------------
2
Wed Aug 16 12:31:33 CEST 2006 - jsuchome@suse.cz
3
4
- fixed generation of cron job: don't ask for confirmation (#194424)
5
- 2.13.44
6
7
-------------------------------------------------------------------
2
Wed Jun 28 14:15:47 CEST 2006 - jsuchome@suse.cz
8
Wed Jun 28 14:15:47 CEST 2006 - jsuchome@suse.cz
3
9
4
- shown one more "Please wait" popup during start (#188172)
10
- shown one more "Please wait" popup during start (#188172)

Return to bug 194424