From 575bcb9220287a6f0d2577db1fd9fe55d9d8b745 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Feb 2025 19:24:10 +0000 Subject: gentoo auto-resync : 23:02:2025 - 19:24:09 --- acct-user/strelaysrv/Manifest | 2 +- acct-user/strelaysrv/strelaysrv-1-r1.ebuild | 16 +++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'acct-user/strelaysrv') diff --git a/acct-user/strelaysrv/Manifest b/acct-user/strelaysrv/Manifest index 3a78400dd06d..76f0a36d8811 100644 --- a/acct-user/strelaysrv/Manifest +++ b/acct-user/strelaysrv/Manifest @@ -1,2 +1,2 @@ -EBUILD strelaysrv-1-r1.ebuild 678 BLAKE2B ff8fba1422bdf78a30d2ef4a0dfa298e08c122878c7446affed61680b03dbe2c1740aa6c67f96fa63caace4a9204cf3a2d216c5228256cb386abcc4424272d1c SHA512 f7d861379fc156ab36f4450be5109457d2e40e99666b745b9fecefa5fbedda9b783ab91cfc4b48ab711f2804014abfa4aabfc1caf2f40aa449c708886c88ca8a +EBUILD strelaysrv-1-r1.ebuild 557 BLAKE2B 0847f7fd41776da9c1a2b768f36ebb78022450aad334cf2a16a26169d8e12870d11aaf52ec01e76b6a853dbf5e1190bae28f44f9982eaa647fdc46afbe38702a SHA512 424b8a2859efeef921b9e140bf28e0fdd401dfbc5c6e63eccf641d07be309f98e11e263931655d1722030a56eb5ae9387fd5b1945dca3f4ac86ae24418e83652 MISC metadata.xml 257 BLAKE2B 65c73e9c8dcc3e61188ef911f456b2ae23c9f2a0a207c7e3075566177dd9ea14b0b2da755fe8b864552179ebc17ff35a12a824c1eae0d52d3ecacf2a5aacf438 SHA512 89f76751a66c20c3d723ab5eb4a547baae7aa155ed5cc0e82c9c78ce6a26a8b51a2025c25b3a2df8e0b67b41e5c7479b8d162111fbd2f0949adecdeb44b5a750 diff --git a/acct-user/strelaysrv/strelaysrv-1-r1.ebuild b/acct-user/strelaysrv/strelaysrv-1-r1.ebuild index 57f5a650afb1..f89543975d09 100644 --- a/acct-user/strelaysrv/strelaysrv-1-r1.ebuild +++ b/acct-user/strelaysrv/strelaysrv-1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit acct-user +inherit acct-user eapi9-ver DESCRIPTION="User for the Syncthing relay server" ACCT_USER_ID=496 @@ -14,14 +14,8 @@ ACCT_USER_GROUPS=( syncthing ) acct-user_add_deps pkg_postinst() { - if [[ -n "${REPLACING_VERSIONS}" ]]; then - local rver - for rver in ${REPLACING_VERSIONS} ; do - if ver_test "${rver}" -lt 1; then - ewarn "The home directory of this user has changed to /var/lib/syncthing-relaysrv" - ewarn "If you have any files in /var/lib/${PN}, move them to the new location by hand" - break - fi - done + if ver_replacing -lt 1; then + ewarn "The home directory of this user has changed to /var/lib/syncthing-relaysrv" + ewarn "If you have any files in /var/lib/${PN}, move them to the new location by hand" fi } -- cgit v1.2.3