strip source line from version
This commit is contained in:
parent
ae66aced1f
commit
c8fb55c87f
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ if [ "x${PHP_VER}" = "x" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
PHP_SRC="$(dpkg-query -W -f='${Version}' php5)"
|
||||
PHP_SRC1="$(dpkg-query -W -f='${Version}' php5)"
|
||||
PHP_SRC=${PHP_SRC1%*-*}
|
||||
|
||||
if [ ! -f "${PHP_SRC}" ]; then
|
||||
apt-get source php5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue