generated from cosmic-packages/cosmic-applets
Update main.sh
This commit is contained in:
parent
ece4539272
commit
0f4ca0a6ed
4
main.sh
4
main.sh
@ -13,9 +13,7 @@ git clone https://github.com/pop-os/cosmic-settings.git
|
||||
cd cosmic-settings
|
||||
|
||||
# Get build deps
|
||||
perl -0777 -pe '
|
||||
s/^(Build-Depends:\s*\n)(.+?)(\n\S)/$1 . join(",\n", grep { !/^\s*(cargo|rustc|rust-all)\s*$/ } split /,\s*\n/, $2) . $3/ems;
|
||||
' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control
|
||||
perl -0777 -pe 's/^(Build-Depends:\s*\n)(.+?)(\n\S)/$1 . join(",\n", grep { !/^\s*(cargo|rustc|rust-all)\s*$/ } split /,\s*\n/, $2) . $3/ems;' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control
|
||||
apt-get build-dep ./ -y
|
||||
apt-get install curl -y
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
|
||||
|
Loading…
Reference in New Issue
Block a user