wok-6.x rev 20624

fpc: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 31 19:10:18 2018 +0100 (2018-12-31)
parents f729a14d0687
children d8337abf6290
files fpc/receipt
line diff
     1.1 --- a/fpc/receipt	Mon Dec 31 15:16:31 2018 +0100
     1.2 +++ b/fpc/receipt	Mon Dec 31 19:10:18 2018 +0100
     1.3 @@ -68,7 +68,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	if [ ! -f "$1/etc/fpc.cfg" ]; then
     1.8 +	if [ ! -s "$1/etc/fpc.cfg" ]; then
     1.9  		chroot "$1/" fpcmkcfg > /etc/fpc.cfg 
    1.10  	fi
    1.11