On Tue, Jul 19, 2005 at 08:49:57AM +0200, martin f krafft wrote: > title 284642 please integrate deb-reversion > kthxbye > > This is a reminder to integrate deb-reversion (formerly > dpkg-reversion, then debedit) into devscripts. The current version > 0.1.18 is available at > > http://debian.madduck.net/~madduck/packages/stage/deb-reversion
I changed a line in copyright() and made a minor fix, here is the diff, let me know if you are okay with this: --- ../deb-reversion-0.1.18/deb-reversion 2005-07-19 08:39:05.000000000 +0200 +++ deb-reversion.sh 2005-07-21 16:20:06.583155312 +0200 @@ -35,6 +35,10 @@ Please see http://www.opensource.org/licenses/artistic-license.php for more information. On Debian systems, you may find the text of the licence in /usr/share/common-licenses/Artistic as well. + +This version ($PROGVERSION) has been integrated into devscripts ###VERSION### +the original is available at: +http://debian.madduck.net/~madduck/packages/stage/deb-reversion EOF } @@ -63,7 +67,7 @@ -v | --new-version The new version to be used -c | --calculate-only Only calculate the new version - (makes no sense with -c) + (makes no sense with -v) -k | --hook Call the specified hook before repacking -D | --debug Debug mode (passed to dpkg-deb) -V | --version Display version information @@ -209,6 +213,12 @@ extract_deb_file $DEB change_version $VERSION $LOG FILE=$(repack_file) + +if [ -f $DIR/$FILE ]; then + echo $DIR/$FILE exists, moving to $DIR/$FILE.orig + mv $DIR/$FILE $DIR/$FILE.orig +fi + mv ../$FILE $DIR echo version $VERSION of $PACKAGE is now available in $FILE >&2 filippo -- Filippo Giunchedi PGP key: 0x6B79D401 random quote follows: yeah, that would be smart, except that it's not. -- Josip Rodin
signature.asc
Description: Digital signature

