[packages/php-dirs] - 1.10; but only catch version ending binaries

arekm arekm at pld-linux.org
Wed May 2 11:27:39 CEST 2018


commit 088a0e89e9fe6db9192256dc644585f173552faa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 2 11:27:30 2018 +0200

    - 1.10; but only catch version ending binaries

 php-dirs.spec  | 2 +-
 php-session.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-dirs.spec b/php-dirs.spec
index 7a00f41..b984607 100644
--- a/php-dirs.spec
+++ b/php-dirs.spec
@@ -5,7 +5,7 @@
 Summary:	Common dirs for PHP
 Summary(pl.UTF-8):	Wspólne katalogi dla PHP
 Name:		php-dirs
-Version:	1.9
+Version:	1.10
 Release:	1
 License:	GPL
 Group:		Base
diff --git a/php-session.sh b/php-session.sh
index 06fac33..19bffe2 100755
--- a/php-session.sh
+++ b/php-session.sh
@@ -23,7 +23,7 @@ cleanup_dir() {
 find_gc_time() {
 	gc_time=0
 	local gc php
-	for php in php $(cd /usr/bin && ls -1 php[0-9]* 2> /dev/null); do
+	for php in php $(cd /usr/bin && ls -1 php[0-9] php[0-9][0-9] 2> /dev/null); do
 		gc=
 		if [ -x /usr/bin/$php ]; then
 			gc=$($php -r 'echo max(round(ini_get("session.gc_maxlifetime")/3600), 1);' 2> /dev/null)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-dirs.git/commitdiff/088a0e89e9fe6db9192256dc644585f173552faa



More information about the pld-cvs-commit mailing list