From 63b0caa221fabf94886446c9146ee6e75e16365310607abcd9922340b00552a8 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Wed, 17 May 2023 14:23:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=13 --- fastfetch.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fastfetch.spec b/fastfetch.spec index 8a71fcb..7d5e0be 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -72,6 +72,9 @@ sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash %install %cmake_install +# Move the default config file to a saner directory +mv -v %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir} + %files %license LICENSE %doc README.md CHANGELOG.md @@ -79,8 +82,8 @@ sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash %{_bindir}/flashfetch %{_bindir}/%{name} -%dir %{_prefix}%{_sysconfdir}/%{name} -%config(noreplace) %{_prefix}%{_sysconfdir}/%{name}/config.conf +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/config.conf %{_datadir}/%{name}/ %{_datadir}/bash-completion/