remove POSTINST from framework, file tree can be used for this
authorMichael Vogt <mvo@debian.org>
Tue, 15 Oct 2013 16:09:09 +0000 (18:09 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 15 Oct 2013 16:09:09 +0000 (18:09 +0200)
test/integration/framework

index 0f57d02..28ccb4d 100644 (file)
@@ -395,10 +395,6 @@ Package: $NAME" >> ${BUILDDIR}/debian/control
                 if [ -n "$FILE_TREE" ]; then
                     cp -ar "$FILE_TREE" ${BUILDDIR}/debian/tmp
                 fi
-                if [ -n "$POSTINST" ]; then
-                    echo "$POSTINST" > ${BUILDDIR}/debian/tmp/DEBIAN/postinst
-                    chmod +x  ${BUILDDIR}/debian/tmp/DEBIAN/postinst
-                fi
 
                (cd ${BUILDDIR}; dpkg-gencontrol -DArchitecture=$arch)
                (cd ${BUILDDIR}/debian/tmp; md5sum $(find usr/ -type f) > DEBIAN/md5sums)