summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2021-12-20 15:50:42 (GMT)
committerElan Ruusamäe2021-12-20 15:50:58 (GMT)
commit0b5e121a621c340599d0571fff6e900a8df78c8c (patch)
tree3ae27198e1f1f118eee04ef81f503ebaf4715416
parentb8031e1a27eab82adb28f8a080f3b827ac14eef4 (diff)
downloadpld-builder.new-0b5e121a621c340599d0571fff6e900a8df78c8c.zip
pld-builder.new-0b5e121a621c340599d0571fff6e900a8df78c8c.tar.gz
Add support to queue only php5 packages
-rwxr-xr-xclient/php.sh9
l---------client/php5.sh1
2 files changed, 9 insertions, 1 deletions
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