]> git.pld-linux.org Git - packages/XaraLX.git/commitdiff
- install symlink to binary (lowercase), run updated-desktop-database
authorfreetz <freetz@pld-linux.org>
Sun, 25 Jun 2006 16:26:02 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  if found

Changed files:
    XaraLX.spec -> 1.13

XaraLX.spec

index 492e87a709e08e60499c8ca013e0a77ea462329c..e9cf8d38ab213057f3bd7c94fc3c83a0b298d923 100644 (file)
@@ -69,12 +69,22 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}}
 cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
+ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx3B
+
 install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir}
 install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%postun
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %doc LICENSE libs/LIBS-LICENSE
This page took 0.032887 seconds and 4 git commands to generate.