1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_debian-defaults.dpatch by Tobias Grimm <tg@e-tobi.net>
##
## Thomas Gnther <tom@toms-cafe.de>:
## - adapted to epgsearch-0.9.23.beta18
## - adapted to epgsearch-0.9.25.beta16
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Modifies some debian-specific default settings.
@DPATCH@
--- a/epgsearchsetup.c
+++ b/epgsearchsetup.c
@@ -123,7 +123,7 @@ cMenuEPGSearchSetup::cMenuEPGSearchSetup
FavoritesMenuMode[3] = tr("before 'next'");
MailMethod[0] = "sendmail";
- MailMethod[1] = "sendEmail.pl";
+ MailMethod[1] = "sendEmail";
Setup();
}
@@ -872,7 +872,7 @@ void cMenuSetupMailNotification::Set()
AddHelp(tr("Help$Specify the email address where notifications should be sent to."));
Add(new cMenuEditStraItem(tr("Mail method"), &data->mailViaScript, 2, MailMethod));
- AddHelp(tr("Help$Specify here the method to use when sending mails.\nYou can choose between\n - 'sendmail': requires a properly configured email system\n - 'SendEmail.pl': simple script for mail delivery"));
+ AddHelp(tr("Help$Specify here the method to use when sending mails.\nYou can choose between\n - 'sendmail': requires a properly configured email system\n - 'SendEmail': simple script for mail delivery"));
if (data->mailViaScript) {
cOsdItem* sep = new cOsdItem(tr("--- Email account ---"));
--- a/mail.c
+++ b/mail.c
@@ -40,7 +40,7 @@ The project's page is at http://winni.vd
extern bool isUTF8;
using namespace std;
-std::string cMailNotifier::MailCmd = "sendEmail.pl";
+std::string cMailNotifier::MailCmd = "sendEmail";
// ----------------------
// cMailTimerNotification
@@ -247,7 +247,7 @@ bool cMailNotifier::ExecuteMailScript(st
{
std::string mailCmd = MailCmd;
LogFile.Log(3, "starting mail script: %s with parameters: %s", mailCmd.c_str(), ScriptArgs.c_str());
- if (mailCmd == "sendEmail.pl") // beautify output for standard script
+ if (mailCmd == "sendEmail") // beautify output for standard script
ScriptArgs += " | cut -d\" \" -f 6-";
cCommand cmd;
|