summaryrefslogtreecommitdiff
path: root/dh_elpa
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa')
-rwxr-xr-xdh_elpa2
1 files changed, 2 insertions, 0 deletions
diff --git a/dh_elpa b/dh_elpa
index b62050d..c84f94c 100755
--- a/dh_elpa
+++ b/dh_elpa
@@ -138,6 +138,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
isnative($package);
if ($file) {
@files=filearray($file, ".");
+ scalar(@files) == 1 || grep { m/\b${elpapkg}-pkg.el$/ } @files or
+ error "missing ${elpapkg}-pkg.el";
}
if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL})
&& @ARGV) {