# HG changeset patch # User Rohit Joshi # Date 1260991597 0 # Node ID c7adce465b635d082fd3120b02a51dafe1b93777 # Parent 614e0edaed0260261b113db248cfda831e950451 improve post_remove libv4l diff -r 614e0edaed02 -r c7adce465b63 libv4l/receipt --- a/libv4l/receipt Wed Dec 16 19:25:37 2009 +0000 +++ b/libv4l/receipt Wed Dec 16 19:26:37 2009 +0000 @@ -32,3 +32,8 @@ { echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile } + +post_remove() +{ + sed -i 's/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/ /' $1/etc/profile +}