    fermi-d0-shells-1.0-4                                                                                                  DkZ{                d                                                	           	   D           t           x                                                               	                                                                    _                                             (          >          @          F          Q        C fermi-d0-shells 1.0 4 Add shells in /usr/local/bin to /etc/shells 
Allow users with NFS mounted shells to login   8Gd0lxfm02.fnal.gov       Fermi Linux v6.1.1 Fermilab FermiLab Simon Epsteyn Fermi/D0 http://www-d0.fnal.gov/d0unix/linux/ Linux noarch 
## shells

if [ -e /etc/shells ]; then
	/bin/cp -f /etc/shells /etc/shells.d0sav
	/bin/chmod -f 644 /etc/shells.d0sav
	/bin/chown -f root.root /etc/shells.d0sav
fi

/bin/cat <<EOF >>/etc/shells
/usr/local/bin/sh
/usr/local/bin/ksh
/usr/local/bin/bash
/usr/local/bin/csh
/usr/local/bin/tcsh
EOF

/bin/chmod -f 644 /etc/shells
/bin/chown -f root.root /etc/shells

# Pre-uninstall script
#%preun

# Post-uninstall script 
## shells

if [ -e /etc/shells.d0sav ]; then
	/bin/mv -f /etc/shells.d0sav /etc/shells
	/bin/chmod -f 644 /etc/shells
	/bin/chown -f root.root /etc/shells
fi

# Files owned by this package fermi-d0-shells-1.0-4.src.rpm       |       @/bin/sh /bin/sh   3.0.3 /bin/sh /bin/sh d0lxfm02.fnal.gov 955140065           3070704 $!A>A@  5|   