wok diff foomatic-db-engine/receipt @ rev 6482
Up: json-glib, json-glib-dev to 0.11.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 30 03:29:39 2010 +0000 (2010-09-30) |
parents | fb8aceda65ff |
children | 1662cbd3c60e |
line diff
1.1 --- a/foomatic-db-engine/receipt Tue Feb 16 13:56:26 2010 +0000 1.2 +++ b/foomatic-db-engine/receipt Thu Sep 30 03:29:39 2010 +0000 1.3 @@ -42,3 +42,17 @@ 1.4 1.5 } 1.6 1.7 +pre_install() 1.8 +{ 1.9 + rm -f $1/usr/lib/perl5/site_perl/current 1.10 +} 1.11 + 1.12 +post_install() 1.13 +{ 1.14 + # Move file to the right place 1.15 + cp -a $1/usr/lib/perl5/site_perl/current/* $1/usr/lib/perl5/site_perl/*.* 1.16 + rm -rf $1/usr/lib/perl5/site_perl/current 1.17 + 1.18 + # Keep path the remove the package 1.19 + ( cd /usr/lib/perl5/site_perl ; ln -s * current ) 1.20 +}