[packages/nagios-plugin-check_domain] rename plugin with .sh extension in repository

glen glen at pld-linux.org
Tue Sep 24 16:45:55 CEST 2013


commit 3df035c64af4457266cd8007a4d81b9c453d6183
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 24 17:41:37 2013 +0300

    rename plugin with .sh extension in repository

 check_domain => check_domain.sh | 0
 nagios-plugin-check_domain.spec | 2 +-
 test.sh                         | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nagios-plugin-check_domain.spec b/nagios-plugin-check_domain.spec
index e69657c..d0c31ae 100644
--- a/nagios-plugin-check_domain.spec
+++ b/nagios-plugin-check_domain.spec
@@ -5,7 +5,7 @@ Version:	1.2.3
 Release:	1
 License:	GPL
 Group:		Networking
-Source0:	%{plugin}
+Source0:	%{plugin}.sh
 Source1:	%{plugin}.cfg
 URL:		http://www.tomas.cat/blog/en/checking-domain-name-expiration-date-checkdomain
 Requires:	whois
diff --git a/check_domain b/check_domain.sh
similarity index 100%
rename from check_domain
rename to check_domain.sh
diff --git a/test.sh b/test.sh
index 41f1382..3179311 100755
--- a/test.sh
+++ b/test.sh
@@ -20,5 +20,5 @@ amazon.co.uk
 "
 
 for domain in $domains; do
-	sh -$- ./check_domain -d $domain
+	sh -$- ./check_domain.sh -d $domain
 done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_domain.git/commitdiff/a012b111fd81a1b9f4e6a4769d6ff0b4c38c6010



More information about the pld-cvs-commit mailing list