wok diff fpc/receipt @ rev 18734
Remove redundant messages in {pre|post}_{install|remove}() in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 21 02:53:09 2015 +0200 (2015-12-21) |
parents | 9e01bc6321ea |
children | dfc51ce7954a |
line diff
1.1 --- a/fpc/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/fpc/receipt Mon Dec 21 02:53:09 2015 +0200 1.3 @@ -41,7 +41,7 @@ 1.4 BINUTILSPREFIX=arm-slitaz-gnueabi- \ 1.5 INSTALL_PREFIX=$DESTDIR/usr ;; 1.6 esac && 1.7 - 1.8 + 1.9 # install package license 1.10 install -m 755 -d $DESTDIR/usr/share/licenses/fpc && 1.11 install -m 644 $src/fpcsrc/rtl/COPYING.FPC \ 1.12 @@ -54,10 +54,10 @@ 1.13 mkdir -p $fs/usr $fs/etc 1.14 cp -a $install/usr/bin $fs/usr 1.15 cp -a $install/usr/lib $fs/usr 1.16 - 1.17 + 1.18 # create symlink for compiler 1.19 ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin 1.20 - 1.21 + 1.22 # config file 1.23 #mkdir -p $fs/etc 1.24 #cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg 1.25 @@ -65,14 +65,12 @@ 1.26 1.27 post_install() 1.28 { 1.29 - echo"Processing postinstall commands..." 1.30 if [ ! -f "$1/etc/fpc.cfg" ]; then 1.31 chroot "$1/" fpcmkcfg > /etc/fpc.cfg 1.32 fi 1.33 - 1.34 + 1.35 # Fix units search path 1.36 sed -i -e 's!^-Fu/units/$fpctarget!-Fu/usr/lib/fpc/'$VERSION'/units/$fpctarget!' \ 1.37 -e 's!^-Fu/units/$fpctarget/*!-Fu/usr/lib/fpc/'$VERSION'/units/$fpctarget/*!' \ 1.38 -e 's!^-Fu/units/$fpctarget/rtl!-Fu/usr/lib/fpc/'$VERSION'/units/$fpctarget/rtl!' "$1/etc/fpc.cfg" 1.39 - 1.40 }