aboutsummaryrefslogtreecommitdiff
path: root/src/bin/paku.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/paku.in')
-rwxr-xr-xsrc/bin/paku.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/bin/paku.in b/src/bin/paku.in
index db28cc9..2552927 100755
--- a/src/bin/paku.in
+++ b/src/bin/paku.in
@@ -382,8 +382,7 @@ sub emit_guix_channel_key() {
sub emit_debian() {
my $json = load_json();
- my $dir = $json->{datadir};
- my @debs = ("debs = \\\n");
+ my @debs = ();
my @targets = ();
for my $pkg (@{$json->{packages}}) {
@@ -460,8 +459,13 @@ sub emit_debian() {
}
- print ".POSIX:\n\n";
- print "DIR = $dir\n\n";
+ print <<~EOF;
+ .POSIX:
+
+ DIR = $json->{datadir}
+
+ debs = \\
+ EOF
print @debs, "\n";
print <<~EOF;
GPGKEY = '$json->{maintainer}{name} <$json->{maintainer}{email}>'