abuild: In default -openrc subpackage also move /etc/user files

OpenRC 0.60 added experimental support for user services. These ship
their init.d and conf.d files in /etc/user. Hence, we should also move
these subdirectories to the -openrc subpackage.
This commit is contained in:
Sören Tempel 2025-03-01 22:46:49 +01:00
parent fb2543ffb9
commit e0fad2cb0d

View File

@ -2140,7 +2140,7 @@ default_openrc() {
pkgdesc="$pkgdesc (OpenRC init scripts)"
install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel"
amove etc/conf.d etc/init.d || :
amove etc/conf.d etc/init.d etc/user/conf.d etc/user/init.d || :
}
openrc() {