wok-current diff hd2u/receipt @ rev 12272
Up: slitaz-toolchain (5.0) This will rebuild all toolchain, each pkg already build sucefful on tank
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 13 02:16:05 2012 +0200 (2012-04-13) |
parents | 32b768dcab00 |
children | 8387b6915400 |
line diff
1.1 --- a/hd2u/receipt Mon Oct 18 02:04:40 2010 +0000 1.2 +++ b/hd2u/receipt Fri Apr 13 02:16:05 2012 +0200 1.3 @@ -30,3 +30,20 @@ 1.4 cp -a $_pkg/usr/bin $fs/usr 1.5 } 1.6 1.7 +# Pre and post install commands for Tazpkg. 1.8 +# We must remove all Busybox symlink before installing. 1.9 +# 1.10 +pre_install() 1.11 +{ 1.12 + local root 1.13 + root=$1 1.14 + echo "Processing pre-install commands..." 1.15 + echo -n "Removing all Busybox replaced utils... " 1.16 + rm -f $root/usr/bin/dos2unix 1.17 + status 1.18 +} 1.19 + 1.20 +post_remove() 1.21 +{ 1.22 + ln -s /bin/busybox /usr/bin/dos2unix 1.23 +} 1.24 \ No newline at end of file