From a25a7a42276047b30f38f96574496148fd1332302da0acce96b5dcf936a80f55 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 23 Jan 2008 20:53:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aaa_base?expand=0&rev=70 --- aaa_base.changes | 5 +++++ aaa_base.pre | 4 +++- aaa_base.spec | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/aaa_base.changes b/aaa_base.changes index 5454df0..0e44ae8 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 23 21:51:55 CET 2008 - ro@suse.de + +- use if/then instead of plain test + ------------------------------------------------------------------- Wed Jan 23 21:13:35 CET 2008 - mrueckert@suse.de diff --git a/aaa_base.pre b/aaa_base.pre index cf1a442..ecdfa6f 100644 --- a/aaa_base.pre +++ b/aaa_base.pre @@ -256,4 +256,6 @@ if test ! -f etc/defaultdomain -a -f /etc/rc.config ; then chmod 644 etc/defaultdomain fi -test -e /root/.gnupg/secring.gpg && cp -a /root/.gnupg/secring.gpg /root/.gnupg/secring.gpg.aaa_save +if test -f /root/.gnupg/secring.gpg ; then + cp -a /root/.gnupg/secring.gpg /root/.gnupg/secring.gpg.aaa_save +fi diff --git a/aaa_base.spec b/aaa_base.spec index ec46a75..4cae77e 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -20,7 +20,7 @@ Recommends: logrotate PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv net-tools AutoReqProv: on Version: 11.0 -Release: 22 +Release: 23 Summary: SUSE Linux Base Package BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: aaa_base.tar.bz2 @@ -141,6 +141,8 @@ rm -f /root/.gnupg/secring.gpg.aaa_save %defattr(-,root,root) %changelog +* Wed Jan 23 2008 ro@suse.de +- use if/then instead of plain test * Wed Jan 23 2008 mrueckert@suse.de - only copy the secring if it really exists. * Wed Jan 23 2008 ro@suse.de