diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 4bd91ea..e30e022 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 20:07:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Tue Sep 16 13:33:46 UTC 2014 - tbechtold@suse.com diff --git a/python-virtualenv.spec b/python-virtualenv.spec index dca0d6e..945a1d5 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -76,8 +76,7 @@ ln -s %{_bindir}/virtualenv-%{py_ver} %{buildroot}%{_bindir}/virtualenv %pre # Since /usr/bin/virtualenv became ghosted to be used with update-alternatives, we have to # get rid of the old binary resulting from the non-update-alternativies-ified package: -[[ ! -L %{_bindir}/virtualenv ]] && rm -f %{_bindir}/virtualenv -exit 0 +[ -h %{_bindir}/virtualenv ] || rm -f %{_bindir}/virtualenv %post update-alternatives \