- Use prefoverride instead of preferences in the sysconfig to make

sure take priority over theme

OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=79
This commit is contained in:
Tomáš Chvátal
2017-10-10 13:39:03 +00:00
committed by Git OBS Bridge
parent efdba5289c
commit f4c227025e
2 changed files with 11 additions and 1 deletions

View File

@@ -194,10 +194,13 @@ sed -i \
rm -f %{buildroot}%{_bindir}/icewm-set-{gnomewm,matewm}
mkdir -p %{buildroot}%{_sysconfdir}/icewm/
for cfgfile in keys menu preferences toolbar winoptions ; do
for cfgfile in keys menu preferences toolbar winoptions programs; do
mv -f %{buildroot}%{_datadir}/icewm/$cfgfile \
%{buildroot}%{_sysconfdir}/icewm/
done
# move preferences to prefoverride to take preference over themes
mv %{buildroot}/%{_sysconfdir}/icewm/preferences \
%{buildroot}/%{_sysconfdir}/icewm/prefoverride
%find_lang icewm
ln -sf icewm.html %{buildroot}/%{_docdir}/icewm/index.html