tazpkg diff modules/reconfigure @ rev 849
Fix working of modules/reconfigure (thank Robertux for bugreport); small changes.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 20 10:24:52 2015 +0300 (2015-10-20) |
parents | 8a73a58ed3cb |
children | ea951624ec43 |
line diff
1.1 --- a/modules/reconfigure Fri Oct 09 13:14:01 2015 +0300 1.2 +++ b/modules/reconfigure Tue Oct 20 10:24:52 2015 +0300 1.3 @@ -23,7 +23,7 @@ 1.4 if grep -q '^post_install()' "$INSTALLED/$PACKAGE/receipt"; then 1.5 action 'Execute post-install commands...' 1.6 tmp="$(mktemp)" 1.7 - cp "$1" "$tmp" 1.8 + cp "$INSTALLED/$PACKAGE/receipt" "$tmp" 1.9 sed -i 's|$1/*$INSTALLED|$INSTALLED|g' "$tmp" 1.10 ( . "$tmp"; post_install "$root" ) 1.11 status