summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-11-28 17:00:29 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-28 17:02:07 +0100
commita2f3e0709d8c052abcb5b9e4cda6b3e12e23994b (patch)
tree25b926e001ba162ddd340576f8b8186601c3c555 /x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild
parentapp-text/foliate: bump to 3.0.1 (diff)
downloadgentoo-a2f3e0709d8c052abcb5b9e4cda6b3e12e23994b.tar.gz
gentoo-a2f3e0709d8c052abcb5b9e4cda6b3e12e23994b.tar.bz2
gentoo-a2f3e0709d8c052abcb5b9e4cda6b3e12e23994b.zip
x11-themes/gentoo-artwork: Fix fperms and rm failures
Other minor fixes. Closes: https://bugs.gentoo.org/907720 Closes: https://bugs.gentoo.org/846923 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild')
-rw-r--r--x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild
index 7da211b69ba5..3256d4426823 100644
--- a/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild
+++ b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild
@@ -63,7 +63,7 @@ src_unpack() {
if use icons ; then
# Gentoo Bubble Icons
unpack gentoo-bubble-icons-${BI_VER}.tar.gz
- cd "${WORKDIR}"/${PN}-0.4.2/icons/gentoo || die
+ pushd "${WORKDIR}"/${PN}-0.4.2/icons/gentoo >/dev/null || die
cp "${FILESDIR}"/index.theme . || die
@@ -75,10 +75,12 @@ src_unpack() {
# fix errors in filenames
mv l33t/l33t_nero.png l33t/l33t_UTI_nero.png || die
# fix permissions (bug #213385)
- fperms 644 l33t/l33t_MAI_mutt.png
+ chmod -x l33t/l33t_MAI_mutt.png || die
# remove misspelled files
rm "${S}"/icons/gentoo/{32x32,48x48,64x64}/slypheed.png || die
+
+ popd >/dev/null || die
fi
if use pixmaps ; then
@@ -102,8 +104,9 @@ src_unpack() {
fi
if ! use offensive ; then
+ local i
for i in $(<"${FILESDIR}"/offensive_list) ; do
- rm "${S}/${i}" || die
+ rm -f "${S}/${i}" || die
done
fi
}