summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2015-06-01 22:20:14 +0200
committerSalvatore Bonaccorso <carnil@debian.org>2015-06-01 22:20:14 +0200
commit2fcc92eae348ebab38d13d3a8ac2383e32cf1ab3 (patch)
tree21e5c11d5ab7333315bf755f231ef10c4465a028
parent9da4a84cd9bdc5e1d07c2d1245a7c73000cfa3da (diff)
Replace debian/repack.stub with more recent version from pkg-perl-tools
-rwxr-xr-xdebian/repack.stub9
1 files changed, 6 insertions, 3 deletions
diff --git a/debian/repack.stub b/debian/repack.stub
index 4d68667..7e36f5f 100755
--- a/debian/repack.stub
+++ b/debian/repack.stub
@@ -66,12 +66,15 @@ this is the directory where the upstream source is.
Copyright 2009, Ryan Niebur <ryan@debian.org>
-License: Artistic or GPL-1+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
=cut
if [ -z "$REPACK_SH" ]; then
- if [ -f ../../scripts/repack.sh ]; then
+ if [ -x /usr/share/pkg-perl-tools/repack.sh ]; then
+ REPACK_SH='/usr/share/pkg-perl-tools/repack.sh'
+ elif [ -f ../../scripts/repack.sh ]; then
REPACK_SH=../../scripts/repack.sh
fi
if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then
@@ -81,7 +84,7 @@ fi
if [ ! -f "$REPACK_SH" ]; then
echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable"
- echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD"
+ echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/pkg-perl-tools.git;a=blob_plain;f=scripts/repack.sh;hb=HEAD"
exit 1
fi