Skip to content

Commit 792ce93

Browse files
committed
net-dns/technitium-dns: ignore rm failure
The src_install() phase removes the built `systemd.service` in favor of installing our own with fixed paths; the command is missing either `-f` or `|| die` to clarify intent -- in this case, there is no harm if the service file is not removed, since it won't be installed somewhere where it would get picked up. Signed-off-by: Itai Ferber <itai@itaiferber.net>
1 parent 2f7fa34 commit 792ce93

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

net-dns/technitium-dns/technitium-dns-13.6.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ src_install() {
5555

5656
# The included `systemd.service` file has hard-coded paths we'd need to
5757
# adjust; we'll install our own.
58-
rm "${DOTNET_PKG_OUTPUT}/systemd.service"
58+
rm -f "${DOTNET_PKG_OUTPUT}/systemd.service"
5959

6060
dotnet-pkg_src_install
6161

net-dns/technitium-dns/technitium-dns-14.3.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ src_install() {
6161

6262
# The included `systemd.service` file has hard-coded paths we'd need to
6363
# adjust; we'll install our own.
64-
rm "${DOTNET_PKG_OUTPUT}/systemd.service"
64+
rm -f "${DOTNET_PKG_OUTPUT}/systemd.service"
6565

6666
dotnet-pkg_src_install
6767

net-dns/technitium-dns/technitium-dns-15.0.1.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ src_install() {
7575

7676
# The included `systemd.service` file has hard-coded paths we'd need to
7777
# adjust; we'll install our own.
78-
rm "${DOTNET_PKG_OUTPUT}/systemd.service"
78+
rm -f "${DOTNET_PKG_OUTPUT}/systemd.service"
7979

8080
dotnet-pkg_src_install
8181

net-dns/technitium-dns/technitium-dns-15.0.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ src_install() {
6969

7070
# The included `systemd.service` file has hard-coded paths we'd need to
7171
# adjust; we'll install our own.
72-
rm "${DOTNET_PKG_OUTPUT}/systemd.service"
72+
rm -f "${DOTNET_PKG_OUTPUT}/systemd.service"
7373

7474
dotnet-pkg_src_install
7575

0 commit comments

Comments
 (0)