summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-22 22:16:40 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-22 22:16:53 +0200
commit5b0c00e9801f7ce0d3d92c521063a381c6410524 (patch)
tree9e68cadd86e25b80c7161202ed003d3c6dda49f3
parent41025c6c65146e04875ae0b6aee547ab38280ca1 (diff)
downloadvyos-build-5b0c00e9801f7ce0d3d92c521063a381c6410524.tar.gz
vyos-build-5b0c00e9801f7ce0d3d92c521063a381c6410524.zip
podman: T4637: always use "rm -f" to remove stale debian packages during build
-rwxr-xr-xpackages/podman/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/podman/build.sh b/packages/podman/build.sh
index 54ba7ca4..3842d707 100755
--- a/packages/podman/build.sh
+++ b/packages/podman/build.sh
@@ -23,7 +23,7 @@ install -m 0755 -d tmp/lib/systemd/system
install -m 0755 bin/* tmp/usr/bin/
install -m 0644 contrib/systemd/system/* tmp/lib/systemd/system
-rm *.deb
+rm -f *.deb
fpm --input-type dir --output-type deb --name podman \
--maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
--description "engine to run OCI-based containers in Pods" \