Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54878 - /trunk/mail/src/YaPI/MailServer.pm
  • From: varkoly@xxxxxxxxxxxxxxxx
  • Date: Thu, 22 Jan 2009 09:11:35 -0000
  • Message-id: <E1LPvb5-00076w-Ig@xxxxxxxxxxxxxxxx>
Author: varkoly
Date: Thu Jan 22 10:11:35 2009
New Revision: 54878

URL: http://svn.opensuse.org/viewcvs/yast?rev=54878&view=rev
Log:
fixing bad SCR Write -> Execute

Modified:
trunk/mail/src/YaPI/MailServer.pm

Modified: trunk/mail/src/YaPI/MailServer.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/mail/src/YaPI/MailServer.pm?rev=54878&r1=54877&r2=54878&view=diff
==============================================================================
--- trunk/mail/src/YaPI/MailServer.pm (original)
+++ trunk/mail/src/YaPI/MailServer.pm Thu Jan 22 10:11:35 2009
@@ -1537,13 +1537,13 @@
setfacl -b /var/spool/imap /var/spool/imap/{NoSpam,NewSpam}
';

SCR->Write(".target.string","/etc/cron.hourly/lern-spam",$lernspam);
- SCR->Write(".target.bash","chmod 755
/etc/cron.hourly/lern-spam");
+ SCR->Execute(".target.bash","chmod 755
/etc/cron.hourly/lern-spam");
}
$imap->logout();
}
else
{
- SCR->Write(".target.bash","test -e /etc/cron.hourly/lern-spam && rm
/etc/cron.hourly/lern-spam");
+ SCR->Execute(".target.bash","test -e /etc/cron.hourly/lern-spam &&
rm /etc/cron.hourly/lern-spam");
$ret = $imap->delete('NewSpam');
$ret = $imap->delete('NoSpam');
$imap->logout();

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages