wok diff zerobin/receipt @ rev 13232

Move from undigest: i3-man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:02 2012 +0200 (2012-08-14)
parents 1edf8ba1ba4e
children 30f393e65a4c
line diff
     1.1 --- a/zerobin/receipt	Tue May 29 17:26:27 2012 +0200
     1.2 +++ b/zerobin/receipt	Tue Aug 14 13:39:02 2012 +0200
     1.3 @@ -24,8 +24,12 @@
     1.4  genpkg_rules()                                      
     1.5  {
     1.6  	mkdir -p $fs/usr/share/zerobin
     1.7 +	mkdir -p $fs/var/lib/zerobin/data $fs/var/lib/zerobin/tmp
     1.8  	cp -a $src/* $fs/usr/share/zerobin
     1.9 -	chown -R www.www $fs/usr/share/zerobin
    1.10 +	cp $stuff/purge.sh $fs/var/lib/zerobin/data
    1.11 +	ln -s /var/lib/zerobin/data $fs/usr/share/zerobin/data
    1.12 +	ln -s /var/lib/zerobin/tmp $fs/usr/share/zerobin/tmp
    1.13 +	chown -R www.www $fs/usr/share/zerobin $fs/var/lib/zerobin/*
    1.14  }
    1.15  
    1.16  # Post and pre install commands