[projects/pld-builder.new] Add support to queue only php5 packages

glen glen at pld-linux.org
Wed Dec 22 16:30:04 CET 2021


commit 0b5e121a621c340599d0571fff6e900a8df78c8c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 20 17:50:42 2021 +0200

    Add support to queue only php5 packages

 client/php.sh  | 9 ++++++++-
 client/php5.sh | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/client/php.sh b/client/php.sh
index bb945e8..e5db56a 100755
--- a/client/php.sh
+++ b/client/php.sh
@@ -20,6 +20,13 @@ case "$suffix" in
 		request "$@"
 	done
 	;;
+5)
+	for php in $dir/php5?.sh; do
+		suffix=${php#$dir/php}
+		suffix=${suffix%.sh}
+		request "$@"
+	done
+	;;
 7)
 	for php in $dir/php7?.sh; do
 		suffix=${php#$dir/php}
@@ -27,7 +34,7 @@ case "$suffix" in
 		request "$@"
 	done
 	;;
-8*)
+8)
 	for php in $dir/php8?.sh; do
 		suffix=${php#$dir/php}
 		suffix=${suffix%.sh}
diff --git a/client/php5.sh b/client/php5.sh
new file mode 120000
index 0000000..43761d6
--- /dev/null
+++ b/client/php5.sh
@@ -0,0 +1 @@
+./php7.sh
\ No newline at end of file
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/2e0aca549db43572dd76abe15cc089b18a753bf8



More information about the pld-cvs-commit mailing list