diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-02-22 08:05:45 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-02-22 08:05:45 +0000 |
commit | 28b87b717eedbbdea67857281b6eebb66881ac16 (patch) | |
tree | 21c24781d18c01ad6408b2c3f6f19c68c1bf705d /eclass | |
parent | Stable for x86, wrt bug #495412 (diff) | |
download | historical-28b87b717eedbbdea67857281b6eebb66881ac16.tar.gz historical-28b87b717eedbbdea67857281b6eebb66881ac16.tar.bz2 historical-28b87b717eedbbdea67857281b6eebb66881ac16.zip |
Be more friendly with SELinux (#499636 by Luis Ressel)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/gnome2-utils.eclass | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index e2213770909f..b6d7c3ddd505 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1143 2014/02/21 16:07:25 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1144 2014/02/22 08:05:45 pacho Exp $ + + 22 Feb 2014; Pacho Ramos <pacho@gentoo.org> gnome2-utils.eclass: + Be more friendly with SELinux (#499636 by Luis Ressel) 21 Feb 2014; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass: Make problems with man page installation nonfatal diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 9c046210c0b8..dc55cfb2fe00 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.34 2014/02/09 08:30:23 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.35 2014/02/22 08:05:45 pacho Exp $ # @ECLASS: gnome2-utils.eclass # @MAINTAINER: @@ -436,7 +436,8 @@ gnome2_gdk_pixbuf_update() { local tmp_file=$(mktemp -t tmp.XXXXXXXXXX_gdkpixbuf) ${updater} 1> "${tmp_file}" && chmod 0644 "${tmp_file}" && - mv -f "${tmp_file}" "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache" + cp -f "${tmp_file}" "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache" && + rm "${tmp_file}" # don't replace this with mv, required for SELinux support eend $? } |