diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-14 20:58:27 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-09-14 20:58:44 +0200 |
commit | beb3df0733d8cf682291e19b0df0871da20ab5d4 (patch) | |
tree | f8075ca847508c788cf4d00b955492122574f49f /packages/linux-kernel/build-nat-rtsp.sh | |
parent | f523ae5cacfb162f2f30996777c81c0caf19a684 (diff) | |
download | vyos-build-beb3df0733d8cf682291e19b0df0871da20ab5d4.tar.gz vyos-build-beb3df0733d8cf682291e19b0df0871da20ab5d4.zip |
Kernel: T5887: cleanup Debian postinst files after package build
Diffstat (limited to 'packages/linux-kernel/build-nat-rtsp.sh')
-rwxr-xr-x | packages/linux-kernel/build-nat-rtsp.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-nat-rtsp.sh b/packages/linux-kernel/build-nat-rtsp.sh index ec7d19a6..40018cfb 100755 --- a/packages/linux-kernel/build-nat-rtsp.sh +++ b/packages/linux-kernel/build-nat-rtsp.sh @@ -36,3 +36,7 @@ fpm --input-type dir --output-type deb --name nat-rtsp \ --license "GPL2" --chdir tmp mv *.deb .. + +if [ -f ${DEBIAN_POSTINST} ]; then + rm -f ${DEBIAN_POSTINST} +fi |