From a4f732657787a27f812fd533fc20dfaa806c33ad Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 25 Feb 2020 09:38:53 +0530 Subject: [PATCH] Move dependency setup to cache-extensions --- src/scripts/linux.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index bb1bb59b..6d42996c 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -86,8 +86,6 @@ add_extension() { install_command="update_ppa && ${install_command/5\.[4-5]-$extension/5-$extension=$release_version}" fi if ! check_extension "$extension" && [ -e "$ext_dir/$extension.so" ]; then - # shellcheck disable=SC2046 - $apt_install $(apt-cache depends php"$version"-"$extension" 2>/dev/null | awk '/Depends:/{print$2}') >/dev/null 2>&1 echo "$prefix=$extension.so" >>"$ini_file" && add_log "$tick" "$extension" "Enabled" elif check_extension "$extension"; then add_log "$tick" "$extension" "Enabled"