summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-nat-rtsp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux-kernel/build-nat-rtsp.sh')
-rwxr-xr-xpackages/linux-kernel/build-nat-rtsp.sh4
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