Fix side effects of this action

This commit is contained in:
Shivam Mathur
2019-10-27 05:42:49 +05:30
parent 16267e1982
commit 0d8d5d2f2c
26 changed files with 162 additions and 180 deletions

View File

@ -34,7 +34,7 @@ if [ "$existing_version" != "$1" ]; then
for tool in php phar phar.phar php-cgi php-config phpize; do
if [ -e "/usr/bin/$tool$1" ]; then
sudo update-alternatives --set $tool /usr/bin/"$tool$1" >/dev/null 2>&1 &
sudo update-alternatives --set $tool /usr/bin/"$tool$1" >/dev/null 2>&1
fi
done
fi