]> git.pld-linux.org Git - packages/sudo.git/commitdiff
- replace sudoedit* hardlinks with symlinks
authorSzymon Siwek <sls@pld-linux.org>
Wed, 15 Oct 2008 12:52:50 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sudo.spec -> 1.134

sudo.spec

index 2d83e60bf2410cb936ceedd7d45b99aa48bb2921..b9f264065595048e3d81f602f9feca05d2951573 100644 (file)
--- a/sudo.spec
+++ b/sudo.spec
@@ -169,6 +169,12 @@ 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
+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
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.224527 seconds and 4 git commands to generate.