.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=116
This commit is contained in:
parent
6cd06caeb9
commit
24a61ecb21
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 23 10:33:09 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
- Better check on update for postun scriptlet and error correct with
|
||||||
|
an posttrans scriptlet, that is do not remove /etc/ksh.kshrc on
|
||||||
|
an update of an older ksh version (bnc#759730)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 15 12:32:36 UTC 2012 - werner@suse.de
|
Thu Mar 15 12:32:36 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
7
ksh.spec
7
ksh.spec
@ -723,7 +723,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if test ! -x bin/ksh ; then
|
if test $1 -eq 0 -a ! -x bin/ksh ; then
|
||||||
if test ! -x bin/pdksh ; then
|
if test ! -x bin/pdksh ; then
|
||||||
rm -f etc/ksh.kshrc
|
rm -f etc/ksh.kshrc
|
||||||
fi
|
fi
|
||||||
@ -732,6 +732,11 @@ if test ! -x bin/ksh ; then
|
|||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
if test -x bin/ksh -o -x bin/pdksh ; then
|
||||||
|
test -e etc/bash.bashrc && ln -sf bash.bashrc etc/ksh.kshrc || true
|
||||||
|
fi
|
||||||
|
|
||||||
%files -f ksh.lang
|
%files -f ksh.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if %use_suid_exe
|
%if %use_suid_exe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user