mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix php-gtk installation check
This commit is contained in:
parent
b063603cd0
commit
080c4d87db
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ sed -i "/INI_DIR = /c\
|
|||
INI_DIR = /dev/null" $DIR_PHP_GTK_SOURCE/Makefile
|
||||
|
||||
## Force build for new installation
|
||||
if [ ! -d $DIR_PHP_CPP_TARGET ]; then BUILD_PHP_GTK="y"
|
||||
if [ ! -f "$($DIR_PHP_SRC_TARGET/bin/php-config --extension-dir)/php-gtk3.so" ]; then BUILD_PHP_GTK="y"
|
||||
else # or ask for re-build
|
||||
until [[ $BUILD_PHP_GTK =~ (y|n) ]]; do
|
||||
read -rp "Rebuild latest PHP-GTK? [y/n]: " -e BUILD_PHP_GTK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue