Package list rust-stfu8 / e6acfe10-c475-43e0-9797-5e1374397d69/main repackage.sh
e6acfe10-c475-43e0-9797-5e1374397d69/main

Tree @e6acfe10-c475-43e0-9797-5e1374397d69/main (Download .tar.gz)

repackage.sh @e6acfe10-c475-43e0-9797-5e1374397d69/mainraw · history · blame

#!/bin/sh
# 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