From ad90bc48750798c893bb1be7b9e89b442506a7d5 Mon Sep 17 00:00:00 2001
From: Paul Poulain <paul.poulain@biblibre.com>
Date: Fri, 13 Jul 2012 11:53:41 +0200
Subject: [PATCH] Bug 8353 follow-up adding a tiny sh in misc/maintenance
Content-Type: text/plain; charset="UTF-8"

This script will help the sysadmin know there's a test he can use
during maintenance

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>

http://bugs.koha-community.org/show_bug.cgi?id=6473
---
 misc/maintenance/check_sysprefs.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100755 misc/maintenance/check_sysprefs.sh

diff --git a/misc/maintenance/check_sysprefs.sh b/misc/maintenance/check_sysprefs.sh
new file mode 100755
index 0000000..cf28226
--- /dev/null
+++ b/misc/maintenance/check_sysprefs.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+echo "This script will compare your systempreferences with what is expected"
+echo "If you see only '#No tests run!' below, your systempreferences are OK."
+echo "Otherwise, you'll get SQL comment to insert missing systempreferences"
+echo "===== Test result ====="
+perl `dirname $0`/../../t/db_dependent/check_sysprefs.t --showsql
-- 
1.7.2.5