Dan Čermák
872587aad4
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/php8-image?expand=0&rev=1
11 lines
152 B
Bash
11 lines
152 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
extensions=()
|
|
|
|
for ext in $@; do
|
|
[[ "$ext" =~ ^- ]] || extensions+=("php8-$ext")
|
|
done
|
|
|
|
zypper -n in ${extensions[*]}
|