readability of post messages

Paweł Żurowski pzurowski at pld-linux.org
Fri Nov 26 23:34:34 CET 2004


Dnia 26-11-2004, pią o godzinie 22:47 +0200, Elan Ruusamäe napisał(a):
> maildrop.spec:
> 
> %post
> if [ "$1" = "1" ]; then
> echo
> echo Please read README.pld file
> echo
> fi
> 
> it is very confusing and unclear *which* readme to read, if you're doing 
> massive package installation.
> 

it would be very nice and elegant if there were %banner... in general:

%post
%banner %{name} << EOF
text like above, or content of README.pld
EOF

and doing massive package installation:

LIST=`banner.sh --all --names`
poldek --install whatever-you-want
banner.sh --all --names --exclude $LIST
banner.sh --show maildrop other-banner

if you want, you are welcome in testing. this banner support is on HEAD
and AC-branch in rpm.spec

greetings
-pawel

-- 
Pawel Zurowski






More information about the pld-devel-en mailing list