summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdenetwork/tdenetwork-14.0.0.spec')
-rw-r--r--redhat/main/tdenetwork/tdenetwork-14.0.0.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
index 22933e564..5a12bae2e 100644
--- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
+++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
@@ -1296,7 +1296,9 @@ EOF
%endif
# Remove setuid bit on some binaries.
-chmod 0755 "%{?buildroot}%{tde_bindir}/kppp"
+if [ -r "%{?buildroot}%{tde_bindir}/kppp" ]; then
+ chmod 0755 "%{?buildroot}%{tde_bindir}/kppp"
+fi
# ktalk
%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk