]> git.pld-linux.org Git - packages/phpenv.git/commitdiff
add post banner about bash init master auto/th/phpenv-0.4.0-1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 30 Nov 2014 20:53:12 +0000 (22:53 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 30 Nov 2014 20:53:12 +0000 (22:53 +0200)
phpenv.spec

index cb02ada77590d197f1c2a6fda50044e366ce1749..84bd8b3c3b8fc6be983babc133eecca9e22cc0d7 100644 (file)
@@ -11,7 +11,7 @@ License:      MIT
 Group:         Development/Languages/PHP
 Source0:       https://github.com/sstephenson/rbenv/archive/v%{version}/rbenv-%{version}.tar.gz
 # Source0-md5: c4a15a4dccf3dc1d28d08e87fb7c7789
-Source1:       phpenv-system-php
+Source1:       %{name}-system-php
 URL:           https://github.com/CHH/phpenv
 Requires:      bash
 BuildArch:     noarch
@@ -85,6 +85,14 @@ ln -s %{_appdir}/libexec/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%banner %{name} -e -o <<'EOF'
+You probably want to execute the following line to add phpenv to your shell:
+
+echo 'eval "$(phpenv init -)"' >> ~/.bash_profile
+EOF
+
+
 %files
 %defattr(644,root,root,755)
 %doc README.md LICENSE
This page took 0.112013 seconds and 4 git commands to generate.