[rootfiles] fix the posttrans copying (thanks O.Poplawski)
Ondrej Vasik
ovasik at fedoraproject.org
Fri Sep 20 07:51:10 UTC 2013
commit 0c5486443deb8848b26869b44282d2a3f6813170
Author: Ondřej Vašík <ovasik at redhat.com>
Date: Fri Sep 20 09:50:58 2013 +0200
fix the posttrans copying (thanks O.Poplawski)
rootfiles.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rootfiles.spec b/rootfiles.spec
index e741151..db5460a 100644
--- a/rootfiles.spec
+++ b/rootfiles.spec
@@ -1,7 +1,7 @@
Summary: The basic required files for the root user's directory
Name: rootfiles
Version: 8.1
-Release: 13%{?dist}
+Release: 14%{?dist}
License: Public Domain
Group: System Environment/Base
@@ -35,7 +35,7 @@ done
%posttrans
if [ $1 -eq 0 ] ; then
#copy recursively the content, but do not overwrite the original files provided by rootfiles package
- cp -ndpr /etc/skel/* /root/
+ cp -ndpr /etc/skel/. /root/ || :
fi
%files
@@ -43,6 +43,9 @@ fi
%config(noreplace) /root/.[A-Za-z]*
%changelog
+* Fri Sep 20 2013 Ondrej Vasik <ovasik at redhat.com> 0.1-14
+- fix the posttrans copying (thanks O.Poplawski)
+
* Wed Sep 18 2013 Ondrej Vasik <ovasik at redhat.com> 0.1-13
- copy content of /etc/skel directory for root as posstrans,
don't overwrite existing files (#999114)
More information about the scm-commits
mailing list