[libquota-perl] 01/02: Replace debian/repack.stub with more recent version from pkg-perl-tools

Salvatore Bonaccorso carnil at debian.org
Mon Jun 1 20:22:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libquota-perl.

commit 2fcc92eae348ebab38d13d3a8ac2383e32cf1ab3
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Jun 1 22:20:14 2015 +0200

    Replace debian/repack.stub with more recent version from pkg-perl-tools
---
 debian/repack.stub | 9 ++++++---
 1 file 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 at 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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libquota-perl.git



More information about the Pkg-perl-cvs-commits mailing list