don't barf on empty /etc/gimp/plugins.d (#202808)
This commit is contained in:
parent
777a7cb6b1
commit
ab6067657f
@ -23,12 +23,10 @@ install_uninstall () {
|
|||||||
pushd "$GIMPPLUGINDIR/plug-ins" >&/dev/null
|
pushd "$GIMPPLUGINDIR/plug-ins" >&/dev/null
|
||||||
if [ "$plugins" == "*" ]; then
|
if [ "$plugins" == "*" ]; then
|
||||||
pushd "/etc/gimp/plugins.d" >&/dev/null
|
pushd "/etc/gimp/plugins.d" >&/dev/null
|
||||||
shopt -u nullglob
|
|
||||||
plugins=""
|
plugins=""
|
||||||
for file in *; do
|
for file in *; do
|
||||||
plugins="$plugins ${file%.conf}"
|
plugins="$plugins ${file%.conf}"
|
||||||
done
|
done
|
||||||
shopt -s nullglob
|
|
||||||
popd >&/dev/null
|
popd >&/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ Version: 2.2.12
|
|||||||
%define age 0
|
%define age 0
|
||||||
%define minorver 200
|
%define minorver 200
|
||||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -402,6 +402,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 17 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-5
|
||||||
|
- don't barf on empty /etc/gimp/plugins.d (#202808)
|
||||||
|
|
||||||
* Wed Aug 16 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-4
|
* Wed Aug 16 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-4
|
||||||
- revamp scheme for integrating external plugins (#202545)
|
- revamp scheme for integrating external plugins (#202545)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user