/[smecontribs]/rpms/smeserver-vacation/contribs10/smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch
ViewVC logotype

Contents of /rpms/smeserver-vacation/contribs10/smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Apr 14 14:42:40 2020 UTC (4 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-34_el7_sme, smeserver-vacation-1_1-31_el7_sme, smeserver-vacation-1_1-32_el7_sme, smeserver-vacation-1_1-30_el7_sme, smeserver-vacation-1_1-35_el7_sme, smeserver-vacation-1_1-36_el7_sme, smeserver-vacation-1_1-26_el7_sme, smeserver-vacation-1_1-27_el7_sme, smeserver-vacation-1_1-33_el7_sme, smeserver-vacation-1_1-28_el7_sme, smeserver-vacation-1_1-29_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-vacation-1.1.9661.old/root/sbin/e-smith/vacation/check_vacation_dates.sh smeserver-vacation-1.1.9661.new/root/sbin/e-smith/vacation/check_vacation_dates.sh
2 --- smeserver-vacation-1.1.9661.old/root/sbin/e-smith/vacation/check_vacation_dates.sh 2016-07-08 04:15:46.184929180 +0200
3 +++ smeserver-vacation-1.1.9661.new/root/sbin/e-smith/vacation/check_vacation_dates.sh 2016-07-08 04:17:29.142761069 +0200
4 @@ -23,11 +23,13 @@
5 then
6 echo "Happy holidays, $key"
7 db accounts setprop $key EmailVacation yes
8 + /etc/e-smith/events/actions/qmail-update-user event $key
9
10 elif [ `db accounts getprop $key EmailVacationTo` == $CURRENT_DATE ]
11 then
12 echo "Back to work, $key"
13 db accounts setprop $key EmailVacation no
14 + /etc/e-smith/events/actions/qmail-update-user event $key
15
16 else
17 echo "Nothing to do for $key"

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed