wok-6.x 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 | 614e0edaed02 |
children | 889326085343 |
files | libv4l/receipt |
line diff
1.1 --- a/libv4l/receipt Wed Dec 16 19:25:37 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 +}