Package list rust-stfu8 / 82e12f0c-2329-4e87-b28d-bb7ca3cca764/main repackage.sh
82e12f0c-2329-4e87-b28d-bb7ca3cca764/main

Tree @82e12f0c-2329-4e87-b28d-bb7ca3cca764/main (Download .tar.gz)

repackage.sh @82e12f0c-2329-4e87-b28d-bb7ca3cca764/mainraw · history · blame

#!/bin/bash
# Repackage a crate at the exact version that it was packaged at.
#
# Usage: ./repackage.sh <CRATE> [<SEMVER>]

. ./vars.sh.frag

if ! shouldbuild "$BUILDDIR/debian/changelog" "$PKGDIR/debian/changelog" && \
   ! shouldbuild "$BUILDDIR/debian/changelog" "$DEBCARGO"; then
	exit 0
fi

REALVER="$(get_existing_version "$PKGDIR")"
run_debcargo --no-overlay-write-back --changelog-ready