doexe ${S}/upgrade/*
# fixes bug #22136
rm -fR ${D}/var
rm -fR ${D}/$(echo ${D} | awk -F / '{print $2}')
}
pkg_postinst() {