Package list rust-libslirp / 5961e7bb-f0f3-4873-a589-fd3ead16d276/main repackage.sh
5961e7bb-f0f3-4873-a589-fd3ead16d276/main

Tree @5961e7bb-f0f3-4873-a589-fd3ead16d276/main (Download .tar.gz)

repackage.sh @5961e7bb-f0f3-4873-a589-fd3ead16d276/main

b4e5b9d
5e18ef4
 
 
b4e5b9d
 
 
eaab0c8
 
b4e5b9d
 
 
baae6f7
20dc0e0
#!/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