aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiFei Zhu <zhuyifei1999@gmail.com>2023-11-13 15:24:28 -0800
committerYiFei Zhu <zhuyifei1999@gmail.com>2023-11-13 15:27:04 -0800
commit32aac9f774e03ec0b91014d9f0a96a34c7d68289 (patch)
tree3de57b07d0e0c70fcf37fad13acfdbaeb006aaa6 /app-backup
parentapp-text/lorien-bin: fix typo (diff)
downloadguru-32aac9f774e03ec0b91014d9f0a96a34c7d68289.tar.gz
guru-32aac9f774e03ec0b91014d9f0a96a34c7d68289.tar.bz2
guru-32aac9f774e03ec0b91014d9f0a96a34c7d68289.zip
app-backup/kopia-ui-bin: Fix QA_PREBUILT & icon cache update
Closes: https://bugs.gentoo.org/917281 Closes: https://bugs.gentoo.org/917282 Closes: https://bugs.gentoo.org/917283 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0-r1.ebuild (renamed from app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0.ebuild)10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0.ebuild b/app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0-r1.ebuild
index bc1611d3f..a1e69fac0 100644
--- a/app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0.ebuild
+++ b/app-backup/kopia-ui-bin/kopia-ui-bin-0.15.0-r1.ebuild
@@ -47,7 +47,7 @@ RDEPEND="
x11-libs/pango
"
-QA_PREBUILT="opt/KopiaUI"
+QA_PREBUILT="opt/KopiaUI/*"
S="${WORKDIR}"
src_install() {
@@ -70,6 +70,12 @@ src_install() {
rm -rf "${ED}/usr/share/doc/kopia-ui" || die
}
-pkg_postinst(){
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
xdg_desktop_database_update
}