wok diff slitaz-loram/receipt @ rev 262

Add a few X app (xcursorgen to build slitaz-polar-cursors
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 24 20:46:37 2008 +0100 (2008-02-24)
parents c956bc99b845
children 3a5e92c048e0
line diff
     1.1 --- a/slitaz-loram/receipt	Thu Feb 21 20:36:52 2008 +0100
     1.2 +++ b/slitaz-loram/receipt	Sun Feb 24 20:46:37 2008 +0100
     1.3 @@ -31,7 +31,7 @@
     1.4  done
     1.5  echo "\$(du -hs ./usr/.moved | cut -f1) have been moved into /usr"
     1.6  echo "\$(du -hs ./usr | cut -f1) were used by /usr before compression"
     1.7 -mksquashfs usr .usr.sqfs
     1.8 +usr/sbin/mksquashfs usr .usr.sqfs
     1.9  rm -rf usr
    1.10  mkdir usr
    1.11  COMPRESSION="none"
    1.12 @@ -58,6 +58,13 @@
    1.13  }
    1.14  
    1.15  # Pre and post install commands for Tazpkg.
    1.16 +pre_install()
    1.17 +{
    1.18 +    local $loram
    1.19 +    loram=$(cd /var/lib/tazpkg/installed ; ls -d slitaz-loram* 2> /dev/null)
    1.20 +    [ -n "$loram" ] && yes y | tazpkg remove $loram
    1.21 +}
    1.22 +
    1.23  post_install()
    1.24  {
    1.25      get_patch | patch -p0