cour...@j.zarhi.com writes:

Hello,

courier-0.69 built as rpm under Centos 6.3
#cat /etc/profile.d/courier.sh
case :${PATH}: in
         *:/usr/lib/courier/bin:*)
                 ;;
         *)
                 if test 500 = 0
                 then
                         PATH="/usr/lib/courier/sbin:$PATH"
                 fi
                 PATH="/usr/lib/courier/bin:$PATH"
                 export PATH
                 ;;
esac


courier-0.68.1 built as rpm under Centos 5.9
# cat /etc/profile.d/courier.sh
case :${PATH}: in
         *:/usr/lib/courier/bin:*)
                 ;;
         *)
                 if test -w /etc
                 then
                         PATH="/usr/lib/courier/sbin:$PATH"
                 fi
                 PATH="/usr/lib/courier/bin:$PATH"
                 export PATH
                 ;;
esac


That 'test 500 = 0' in source files courier.lpspec.in nad
courier.lpspec is 'if test `id -u` = 0'.

It is my build incomplete? That '500' is uid under which courier was
build with 'rpmbuild -ta courier-0.69.0.tar.bz2'

It's a bug in the spec file. I'll fix it. It should read

if test `id -u` = 0

You can fix it manually, for now.


Attachment: pgp3OveQJyZoo.pgp
Description: PGP signature

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to