Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (12 sloc) 0.4 kb
#!/bin/sh
if [ ! -e ./grml-live ] || [ ! -d debian ] ; then
echo "Not a grml-live repo!" >&2
exit 1
fi
if [ $# -ne 0 ] ; then
echo "Usage: $0" >&2
echo "This script updates the version used in grml-live to the debian/changelog!" >&2
exit 1
fi
version=$(dpkg-parsechangelog | awk '/^Version:/ {print $2}')
sed -i 's/^\(GRML_LIVE_VERSION=.\).*\(.\)\s*$/\1'$version'\2/' grml-live
Jump to Line
Something went wrong with that request. Please try again.