diff options
| author | Anton <anton@picapica.im> | 2026-11-27 03:52:56 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-11-27 03:52:56 +0400 |
| commit | a43b9038f90d17ec522242bcbed21f0a3af464a2 (patch) | |
| tree | 5fe91f2ef94c921e8c0bb026fe4948076cf42b4b | |
| parent | 633fe8652f2c4796ec56654df755ed1231c9e8ba (diff) | |
| download | pica-pica-a43b9038f90d17ec522242bcbed21f0a3af464a2.tar.gz pica-pica-a43b9038f90d17ec522242bcbed21f0a3af464a2.zip | |
gentoo ebuild: run xdg_pkg_preinst and xdg_pkg_postinst
| -rwxr-xr-x | gentoo/pica-pica-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gentoo/pica-pica-9999.ebuild b/gentoo/pica-pica-9999.ebuild index fb817a6..02ab610 100755 --- a/gentoo/pica-pica-9999.ebuild +++ b/gentoo/pica-pica-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 -inherit autotools desktop git-r3 +inherit autotools desktop git-r3 xdg if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/antonsviridenko/pica-pica.git" @@ -97,6 +97,7 @@ src_install() { } pkg_preinst() { + xdg_pkg_preinst if use node; then fowners -R pica-node:pica-node "/var/lib/pica-node" @@ -107,6 +108,7 @@ pkg_preinst() { } pkg_postinst() { + xdg_pkg_postinst use node && elog "Set the announced_addr value to your IP address in a config file before running pica-node" } |
