wok diff libv4l/receipt @ rev 4612
improve post_remove libv4l
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Dec 16 19:26:37 2009 +0000 (2009-12-16) |
parents | 4fcb5252b15b |
children | f4c57a9c37bf |
line diff
1.1 --- a/libv4l/receipt Tue Dec 15 16:42:43 2009 +0000 1.2 +++ b/libv4l/receipt Wed Dec 16 19:26:37 2009 +0000 1.3 @@ -32,3 +32,8 @@ 1.4 { 1.5 echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile 1.6 } 1.7 + 1.8 +post_remove() 1.9 +{ 1.10 + sed -i 's/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/ /' $1/etc/profile 1.11 +}