Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58311d5340 | ||
|
|
55034917ed | ||
|
|
114c7bf40c | ||
|
|
567dc865bb |
@@ -510,6 +510,8 @@ libnuma1
|
||||
libobjc-11-dev
|
||||
libobjc4
|
||||
libodbc2
|
||||
libodbccr2
|
||||
libodbcinst2
|
||||
libonig5
|
||||
libopenexr-dev
|
||||
libopenexr25
|
||||
|
||||
@@ -7,8 +7,8 @@ link_apt_fast() {
|
||||
fetch_package() {
|
||||
if ! [ -e /tmp/Packages ]; then
|
||||
. /etc/os-release
|
||||
deb_build_arch=$(dpkg-architecture -q DEB_BUILD_ARCH)
|
||||
curl -o /tmp/Packages.gz -sL "http://ppa.launchpad.net/ondrej/php/ubuntu/dists/$VERSION_CODENAME/main/binary-$deb_build_arch/Packages.gz"
|
||||
arch=$(dpkg --print-architecture)
|
||||
curl -o /tmp/Packages.gz -sL "http://ppa.launchpad.net/ondrej/php/ubuntu/dists/$VERSION_CODENAME/main/binary-$arch/Packages.gz"
|
||||
gzip -df /tmp/Packages.gz
|
||||
fi
|
||||
}
|
||||
@@ -98,6 +98,7 @@ setup_dependencies() {
|
||||
libraries=""
|
||||
extension_packages=""
|
||||
for extension_package in "${extensions_array[@]}"; do
|
||||
[[ ! "$extension_package" =~ php[0-9]+\.[0-9]+-[a-zA-Z]+$ ]] && continue
|
||||
fetch_package
|
||||
libraries="$libraries $(get_dependencies "$extension_package" "lib")"
|
||||
IFS=' ' read -r -a dependency_extension_packages_array <<<"$(get_dependencies "$extension_package" "php$version-")"
|
||||
|
||||
Reference in New Issue
Block a user