From c29e797c682c06c037506b610e0bbbe895610c60 Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Wed, 24 Oct 2012 16:52:14 -0700 Subject: [PATCH] Move distribution-supporting scripts to `dist`. --- dist/README | 15 +++++++++++++++ {scripts => dist}/bucardo.init | 0 {scripts => dist}/bucardo.rc | 0 {scripts => dist}/bucardo.spec | 0 scripts/README | 4 ---- t/01-basic.t | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 dist/README rename {scripts => dist}/bucardo.init (100%) rename {scripts => dist}/bucardo.rc (100%) rename {scripts => dist}/bucardo.spec (100%) diff --git a/dist/README b/dist/README new file mode 100644 index 000000000..15c61b9e1 --- /dev/null +++ b/dist/README @@ -0,0 +1,15 @@ +This directory contains various distribution configuration files, +patches, and start scripts. + +* bucardo.rc + +Sample BSD rc file for controlling Bucardo + +* bucardo.init + +Sample chkconfig-style start script for controlling Bucardo + +* bucardo.spec + +RPM spec file. + diff --git a/scripts/bucardo.init b/dist/bucardo.init similarity index 100% rename from scripts/bucardo.init rename to dist/bucardo.init diff --git a/scripts/bucardo.rc b/dist/bucardo.rc similarity index 100% rename from scripts/bucardo.rc rename to dist/bucardo.rc diff --git a/scripts/bucardo.spec b/dist/bucardo.spec similarity index 100% rename from scripts/bucardo.spec rename to dist/bucardo.spec diff --git a/scripts/README b/scripts/README index 9c7ab1136..7b1dba34b 100644 --- a/scripts/README +++ b/scripts/README @@ -1,9 +1,5 @@ This directory contains various helper scripts. -* bucardo.rc - -Sample rc file for controlling Bucardo - * bucardo-report Web-based report on Bucardo activity diff --git a/t/01-basic.t b/t/01-basic.t index 3273b5c71..cfc670db2 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -18,7 +18,7 @@ my @test_files = grep { /\.t$/ } readdir $dh; closedir $dh or warn qq{Could not close the 't' directory: $!\n}; opendir $dh, 'scripts' or die qq{Could not open the 'scripts' directory}; -my @script_files = grep { /^[a-z]/ and ! /\.(?:rc|init|spec)$/ } readdir $dh; +my @script_files = grep { /^[a-z]/ } readdir $dh; closedir $dh or warn qq{Could not close the 'scripts' directory: $!\n}; plan tests => @important_files + @test_files + @script_files; -- 2.39.5