wok diff util-linux-uuid/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | d35ad056f90e |
children | 11e287409bc0 |
line diff
1.1 --- a/util-linux-uuid/receipt Mon Apr 23 16:19:05 2012 +0200 1.2 +++ b/util-linux-uuid/receipt Mon Apr 23 16:30:27 2012 +0200 1.3 @@ -13,17 +13,16 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin 1.7 - cp -a $_pkg/usr/sbin/uuidd $fs/usr/sbin 1.8 - cp -a $_pkg/usr/bin/uuidgen $fs/usr/bin 1.9 - cp -a $_pkg/lib/libuuid.so* $fs/lib 1.10 - cd $fs/usr/lib 1.11 - ln -s /lib/libuuid.so.1.3.0 libuuid.so 1.12 - #cp -a $_pkg/usr/lib/libuuid.so* $fs/usr/lib 1.13 + cp -a $install/usr/sbin/uuidd $fs/usr/sbin 1.14 + cp -a $install/usr/bin/uuidgen $fs/usr/bin 1.15 + cp -a $install/lib/libuuid.so* $fs/lib 1.16 } 1.17 1.18 +# Remove old package 1.19 post_install() 1.20 { 1.21 - # Remove old libuuid from e2fsprogs package 1.22 - rm $1/lib/libuuid.so.1.2 2>/dev/null 1.23 - rm -rf $1/var/lib/tazpkg/installed/libuuid 2>/dev/null 1.24 + if [ -d "/var/lib/tazpkg/installed/util-linux-ng-uuid" ]; then 1.25 + echo "Removing old: util-linux-ng-uuid" 1.26 + yes | tazpkg -r util-linux-ng-uuid 1.27 + fi 1.28 }