tcsh.spec: Indentation updated to be visually consistent, TABs removed
This commit is contained in:
parent
e334622370
commit
e7bb88b90b
14
tcsh.spec
14
tcsh.spec
@ -76,7 +76,7 @@ make %{?_smp_mflags} -C nls catalogs
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 ${RPM_BUILD_ROOT}%{_bindir}
|
||||
install -p -m 755 tcsh ${RPM_BUILD_ROOT}%{_bindir}/tcsh
|
||||
install -p -m 644 tcsh.man ${RPM_BUILD_ROOT}%{_mandir}/man1/tcsh.1
|
||||
@ -121,14 +121,10 @@ if [ ! -f /etc/shells ]; then
|
||||
echo "%{_bindir}/csh" >> /etc/shells
|
||||
echo "/bin/csh" >> /etc/shells
|
||||
else
|
||||
grep -q '^%{_bindir}/tcsh$' /etc/shells || \
|
||||
echo "%{_bindir}/tcsh" >> /etc/shells
|
||||
grep -q '^/bin/tcsh$' /etc/shells || \
|
||||
echo "/bin/tcsh" >> /etc/shells
|
||||
grep -q '^%{_bindir}/csh$' /etc/shells || \
|
||||
echo "%{_bindir}/csh" >> /etc/shells
|
||||
grep -q '^/bin/csh$' /etc/shells || \
|
||||
echo "/bin/csh" >> /etc/shells
|
||||
grep -q '^%{_bindir}/tcsh$' /etc/shells || echo "%{_bindir}/tcsh" >> /etc/shells
|
||||
grep -q '^/bin/tcsh$' /etc/shells || echo "/bin/tcsh" >> /etc/shells
|
||||
grep -q '^%{_bindir}/csh$' /etc/shells || echo "%{_bindir}/csh" >> /etc/shells
|
||||
grep -q '^/bin/csh$' /etc/shells || echo "/bin/csh" >> /etc/shells
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user