From a8fc81287595250edcd18503ea2319d0c1ff6863 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Oct 2013 18:30:54 +0200 Subject: glpi-ocsinventoryng: 1.0.2 - New Package --- glpi-ocsinventoryng-lock.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 glpi-ocsinventoryng-lock.patch (limited to 'glpi-ocsinventoryng-lock.patch') diff --git a/glpi-ocsinventoryng-lock.patch b/glpi-ocsinventoryng-lock.patch new file mode 100644 index 0000000..ac3f491 --- /dev/null +++ b/glpi-ocsinventoryng-lock.patch @@ -0,0 +1,33 @@ +Index: trunk/scripts/ocsng_fullsync.sh +=================================================================== +--- ocsinventoryng/scripts/ocsng_fullsync.sh (revision 331) ++++ ocsinventoryng/scripts/ocsng_fullsync.sh (revision 332) +@@ -31,7 +31,7 @@ + + exit_if_soft_lock() + { +- if [ -f $GLPI_LOCK_DIR/ocsinventory.lock ] ++ if [ -f $GLPI_LOCK_DIR/ocsinventoryng.lock ] + then + echo "Software lock : script can't run !" + exit 1 +Index: trunk/scripts/run.php +=================================================================== +--- ocsinventoryng/scripts/run.php (revision 331) ++++ ocsinventoryng/scripts/run.php (revision 332) +@@ -70,7 +70,7 @@ + + function exit_if_soft_lock() { + +- if (file_exists(GLPI_LOCK_DIR."/massocsimport.lock")) { ++ if (file_exists(GLPI_LOCK_DIR."/ocsinventoryng.lock")) { + echo "Software lock : script can't run !\n"; + exit (1); + } +@@ -204,4 +204,4 @@ + cleanup($pidfile); + fwrite ($log, date("r") . " " . $_SERVER["argv"][0] . " ended\n\n"); + +-?> +\ No newline at end of file ++?> -- cgit