generated from cosmic-packages/cosmic-applets
Update main.sh
This commit is contained in:
parent
d205258a0b
commit
39cc022eeb
7
main.sh
7
main.sh
@ -18,10 +18,9 @@ s{^(Build-Depends:\s*\n)(.+?)(\n\S)}{
|
||||
my $start = $1;
|
||||
my $deps = $2;
|
||||
my $end = $3;
|
||||
$deps =~ s/^\s+//mg;
|
||||
my @items = grep { !/^(cargo|rustc|rust-all)$/ }
|
||||
split /,\s*\n?\s*/, $deps;
|
||||
$start . join(",\n ", @items) . $end;
|
||||
my @items = grep { !/^\s*(cargo|rustc|rust-all)\s*$/ }
|
||||
split /,\s*\n/, $deps;
|
||||
$start . join(",\n", @items) . $end;
|
||||
}ems' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control
|
||||
apt-get build-dep ./ -y
|
||||
apt-get install curl -y
|
||||
|
Loading…
Reference in New Issue
Block a user