We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 114c7bf commit 5503491Copy full SHA for 5503491
src/scripts/linux.sh
@@ -7,8 +7,8 @@ link_apt_fast() {
7
fetch_package() {
8
if ! [ -e /tmp/Packages ]; then
9
. /etc/os-release
10
- deb_build_arch=$(dpkg-architecture -q DEB_BUILD_ARCH)
11
- 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"
12
gzip -df /tmp/Packages.gz
13
fi
14
}
0 commit comments