]> git.pld-linux.org Git - packages/sudo.git/commitdiff
- replace symlink with man links
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Oct 2008 13:55:21 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sudo.spec -> 1.135

sudo.spec

index b9f264065595048e3d81f602f9feca05d2951573..e6f53116fb2ef5a547cb613df4bd9aaece1a0c59 100644 (file)
--- a/sudo.spec
+++ b/sudo.spec
@@ -170,10 +170,9 @@ chmod -R +r $RPM_BUILD_ROOT%{_prefix}
 rm -f $RPM_BUILD_ROOT%{_libdir}/sudo_noexec.la
 
 # replace hardlinks with symlinks
-rm -f $RPM_BUILD_ROOT%{_bindir}/sudoedit
+ln -sf %{_bindir}/sudo $RPM_BUILD_ROOT%{_bindir}/sudoedit
 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
-ln -s %{_bindir}/sudo $RPM_BUILD_ROOT%{_bindir}/sudoedit
-ln -s %{_mandir}/man8/sudo.8 $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
+echo '.so sudo.8' > $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.062676 seconds and 4 git commands to generate.