summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-30 11:39:22 +1000
committerDamien Miller <djm@mindrot.org>2002-09-30 11:39:22 +1000
commitaeaf2bee192f612bfea644bd1fda2596a7496a04 (patch)
tree8675f7db75fc162366014fd5f939989de95d5492
parentd0875620415fadcd150cada0061c1b099d3f436a (diff)
Avoid unpackages files warning on /usr/share/openssh/Ssh.bin
-rw-r--r--contrib/redhat/openssh.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index bf9c9703..679a7e45 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -270,6 +270,10 @@ ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass
install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
%endif
+%if ! %{scard}
+ rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin
+%endif
+
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/