Interesting ... what version of RPM changed the setup macro? (We have some RH6.2 and 7.x users still... but mostly 8, 9.0 and FC1... if those support it, it does look cleaner)
Uh, good question! Using Google Groups I checked the RPM list for the oldest mention of the expression "setup -n" and found a post from December 1997. RH6.0 was released in 1999.
BTW, I was looking at the %pre script and noticed the "cat /etc/passwd | grep ^ntop:" idiom. Why not just "grep ^ntop: /etc/passwd"? (And when I used that idiom, another RPM developer suggested I use the getent command. But I don't know how far back that was included in RH. I can find some pretty old references for other *nix but the oldest post I see with "getent passwd red hat" is in April of 2001. Isn't legacy support fun? ;) )
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
