mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Kernel: T5887: cleanup Debian postinst files after package build
This commit is contained in:
parent
f523ae5cac
commit
beb3df0733
@ -105,3 +105,6 @@ fi
|
||||
if [ -d ${DEBIAN_DIR} ]; then
|
||||
rm -rf ${DEBIAN_DIR}
|
||||
fi
|
||||
if [ -f ${DEBIAN_POSTINST} ]; then
|
||||
rm -f ${DEBIAN_POSTINST}
|
||||
fi
|
||||
|
||||
@ -97,4 +97,6 @@ fi
|
||||
if [ -d ${DEBIAN_DIR} ]; then
|
||||
rm -rf ${DEBIAN_DIR}
|
||||
fi
|
||||
|
||||
if [ -f ${DEBIAN_POSTINST} ]; then
|
||||
rm -f ${DEBIAN_POSTINST}
|
||||
fi
|
||||
|
||||
@ -109,3 +109,6 @@ fi
|
||||
if [ -d ${DEBIAN_DIR} ]; then
|
||||
rm -rf ${DEBIAN_DIR}
|
||||
fi
|
||||
if [ -f ${DEBIAN_POSTINST} ]; then
|
||||
rm -f ${DEBIAN_POSTINST}
|
||||
fi
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user