# HG changeset patch # User Antoine Bodin # Date 1331070008 -3600 # Node ID b3a9262e1ccaa13c9c622124765fdc526e862c90 # Parent 55b62be94188b2ddc8a77e0a8de37a5df318fea7 stella: move post_install code to genpkg_rules. It's far better to run a command once on the builder than on install on each of our computer. diff -r 55b62be94188 -r b3a9262e1cca stella/receipt --- a/stella/receipt Tue Mar 06 21:07:58 2012 +0100 +++ b/stella/receipt Tue Mar 06 22:40:08 2012 +0100 @@ -26,12 +26,7 @@ mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps - cp -a $_pkg/usr/share/applications/stella.desktop \ - $fs/usr/share/applications/stella.desktop + sed 's|Icon=stella.png|Icon=stella|' \ + $_pkg/usr/share/applications/stella.desktop \ + > $fs/usr/share/applications/stella.desktop } - -post_install() -{ - sed -i 's|Icon=stella.png|Icon=stella|' \ - $fs/usr/share/applications/stella.desktop -}