diff options
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 6ccd0966..c64f6433 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -623,7 +623,9 @@ sub udeb_filename { my $filearch=$package_arches{$package} eq 'all' ? "all" : buildarch(); isnative($package); # side effect - return "${package}_$dh{VERSION}_$filearch.udeb"; + my $version=$dh{VERSION}; + $version=~s/^[0-9]+://; # strip any epoch + return "${package}_${version}_$filearch.udeb"; } 1 |