summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-07-23 09:34:17 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-07-23 09:34:17 +0200
commitdf795200dffa808edcdb4ae5f7ccee7796cf1f12 (patch)
treef9a94896155519731a1ad8da754906e9bf345eb5
parent8e8dfcbfe9fb48e5d7669699c8e4145f3976eacd (diff)
downloadfirstaidkit-df795200dffa808edcdb4ae5f7ccee7796cf1f12.tar.gz
firstaidkit-df795200dffa808edcdb4ae5f7ccee7796cf1f12.tar.xz
firstaidkit-df795200dffa808edcdb4ae5f7ccee7796cf1f12.zip
Add config(noreplace) to the config file in /etc.
This will prevent the configuration file from being erased in case it already exists. We don't want a user's conifg file being erased when Firstaidkit is reinstalled.
-rw-r--r--firstaidkit.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/firstaidkit.spec b/firstaidkit.spec
index c79a4bf..a840e58 100644
--- a/firstaidkit.spec
+++ b/firstaidkit.spec
@@ -186,7 +186,7 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic
%{python_sitelib}/pyfirstaidkit
%{python_sitelib}/%{name}-%{version}-py2.5.egg-info
%{_bindir}/firstaidkit
-%{_sysconfdir}/firstaidkit/firstaidkit.conf
+%config(noreplace) %{_sysconfdir}/firstaidkit/firstaidkit.conf
%{_sysconfdir}/firstaidkit/about
%attr(0644,root,root) %{_mandir}/man1/firstaidkit.1.gz