From bcd7c685b1caa81f2142e92da7e5a24332f501d4 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 27 Jul 2009 08:30:47 +0000 Subject: (generate_cron_entry) add a standard shell shebang to the generated cron files git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@258616 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- NEWS | 3 +++ draksnapshot-config | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 2eb907b..1b03f5e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- configurator: + o add a standard shell shebang to the generated cron files + Version 0.20.1 - 15 April 2009, Thierry Vignaud - updated translations diff --git a/draksnapshot-config b/draksnapshot-config index 4f94990..4563760 100755 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -339,7 +339,8 @@ sub generate_cron_entry() { foreach my $type (qw(hourly daily weekly monthly)) { my $file = sprintf($cron_file, $type); output_with_perm($file, 0755, - qq(# WARNING: This file is autogenerated from /etc/rsnapshot.conf. + qq(#!/bin/sh +# WARNING: This file is autogenerated from /etc/rsnapshot.conf. # WARNING: Please alter /etc/rsnapshot.conf instead of $cron_file # Then rerun draksnapshot-config # -- cgit v1.2.1