if [ -e $(CURDIR)/debian/$(cdbs_curpkg).prerm.debhelper ]; then \
cat $(CURDIR)/debian/$(cdbs_curpkg).prerm.debhelper; \
fi;) \
sed 's/#PACKAGE#/$(cdbs_curpkg)/g; s/#DEB_DIVERT_EXTENSION#/$(DEB_DIVERT_EXTENSION)/g' $(DEB_DIVERT_SCRIPT); \
$(if $(divert_files_thispkg), \
echo 'if [ "$$1" = "remove" ]; then'; \
if [ -e $(CURDIR)/debian/$(cdbs_curpkg).prerm.debhelper ]; then \
cat $(CURDIR)/debian/$(cdbs_curpkg).prerm.debhelper; \
fi;) \
sed 's/#PACKAGE#/$(cdbs_curpkg)/g; s/#DEB_DIVERT_EXTENSION#/$(DEB_DIVERT_EXTENSION)/g' $(DEB_DIVERT_SCRIPT); \
$(if $(divert_files_thispkg), \
echo 'if [ "$$1" = "remove" ]; then'; \