]> git.pld-linux.org Git - packages/Smarty.git/commitdiff
- fixed issue where the symlink wasn't created because we hadn't have an earlier...
authorshadzik <shadzik@pld-linux.org>
Thu, 22 Jun 2006 22:33:45 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel++

Changed files:
    Smarty.spec -> 1.34

Smarty.spec

index 29040a01055f7948299fc9c6d8238c652a3c75d0..5ae22bc00063d29d840138b0be954a14913a9c99 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Template engine for PHP
 Summary(pl):   System szablonów dla PHP
 Name:          Smarty
 Version:       2.6.14
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Development/Languages/PHP
 Source0:       http://smarty.php.net/distributions/%{name}-%{version}.tar.gz
@@ -76,6 +76,9 @@ fi
 rmdir %{php_pear_dir}/%{name} 2>/dev/null || mv -v %{php_pear_dir}/%{name}{,.rpmsave}
 ln -s %{_smartydir} %{php_pear_dir}/%{name}
 
+%post
+[ -e %{php_pear_dir}/%{name} ] || ln -s %{_smartydir} %{php_pear_dir}/%{name}
+
 %files
 %defattr(644,root,root,755)
 %doc BUGS ChangeLog FAQ INSTALL NEWS README RELEASE_NOTES TODO
This page took 0.082656 seconds and 4 git commands to generate.