Comment 8 for bug 692727

Revision history for this message
Ove Risberg (ove-risberg) wrote : Re: amd64 libnss-sss package should include 32bit library for 3rd party application compatibility

The perl snipplet in postinst can be replaced with this one line sed command:
sed -i '/^\(passwd:\|group:\|shadow:\|netgroup:\)/ { /\(\ssss\s\|\ssss$\)/ !{ s/$/ sss/ } }' /etc/nsswitch.conf

And the perl snipplet in portrm can be replaced with this one line sed command:
sed -i '/^\(passwd:\|group:\|shadow:\|netgroup:\)/ { s/\(\s\s*\)sss\s\s*/\1/; s/\s\s*sss$// }' /etc/nsswitch.conf

This will hopefully remove the perl dependency...