generated from cosmic-packages/cosmic-applets
Update main.sh
This commit is contained in:
parent
18c269fa6d
commit
931ba3b836
2
main.sh
2
main.sh
@ -14,7 +14,7 @@ cd cosmic-settings
|
||||
|
||||
# Get build deps
|
||||
sed -i '/^\s*\(cargo\|rustc\|rust-all\)\s*\(([^)]*)\)\?\s*,\?$/d; s/,\s*\(cargo\|rustc\|rust-all\)\s*\(([^)]*)\)\?\s*,\?//g' ./debian/control
|
||||
sed -i '2iexport PATH := $(shell . /root/.cargo/env && echo $$PATH)\nexport $(shell . /root/.cargo/env && env | grep "^CARGO_\|^RUSTUP_" | sed "s/=/:=/")\n' ./debian/rules
|
||||
sed -i '2iexport PATH := $(PATH):/root/.cargo/bin\n' ./debian/rules
|
||||
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