]> git.pld-linux.org Git - packages/cvsspam.git/commitdiff
- safer trigger
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 27 Mar 2005 21:53:45 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvsspam.spec -> 1.14

cvsspam.spec

index 525fe11c09d9ade9b18a30dc3c03ba7baf8815fc..f3e800fad70e3c807b81080b7673336c89ca6840 100644 (file)
@@ -62,10 +62,10 @@ rm -rf $RPM_BUILD_ROOT
 # make compat symlink, the symlink is discarded using %ghost on package uninstall
 %triggerpostun -- cvsspam < 0.2.11-5.3
 # need rmdir, because the path belongs to new package (is %ghosted) and therefore is not removed by rpm
-rmdir %{_libdir}/%{name}
+rmdir %{_libdir}/%{name} 2>/dev/null || mv -v %{_libdir}/%{name}{,.rpmsave}
 ln -s %{_datadir} %{_libdir}/%{name}
 %banner %{name} -e <<EOF
-NOTE: The cvsspam programs have moved to %{_datadir}.
+NOTE: The cvsspam programs have been moved to %{_datadir}.
 I've created compat symlink so you don't feel so much pain of that.
 
 EOF
This page took 0.648357 seconds and 4 git commands to generate.