Skip to content

Commit 062567e

Browse files
committed
Setup libwebp-dev with PHP8 on linux
1 parent 00b0d69 commit 062567e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ add_devtools() {
193193

194194
# Function to setup the nightly build from master branch
195195
setup_master() {
196-
update_ppa && $apt_install libzip-dev
196+
update_ppa && $apt_install libzip-dev libwebp-dev >/dev/null 2>&1
197197
tar_file=php_"$version"%2Bubuntu"$(lsb_release -r -s)".tar.xz
198198
install_dir=~/php/"$version"
199199
bintray_url=https://dl.bintray.com/shivammathur/php/"$tar_file"
@@ -203,7 +203,7 @@ setup_master() {
203203
for tool_path in "$install_dir"/bin/*; do
204204
tool=$(basename "$tool_path")
205205
sudo cp "$tool_path" /usr/bin/"$tool$version"
206-
sudo update-alternatives --install /usr/bin/"$tool" "$tool" /usr/bin/"$tool$version" 50
206+
sudo update-alternatives --install /usr/bin/"$tool" "$tool" /usr/bin/"$tool$version" 50 >/dev/null 2>&1
207207
done
208208
sudo ln -sf "$install_dir"/etc/php.ini /etc/php.ini
209209
}

0 commit comments

Comments
 (0)