generated from cosmic-packages/cosmic-applets
Update main.sh
This commit is contained in:
parent
74f99c7ee2
commit
7e557a68e0
2
main.sh
2
main.sh
@ -12,6 +12,8 @@ VERSION="0.1"
|
||||
git clone https://github.com/pop-os/cosmic-comp.git
|
||||
cd cosmic-comp
|
||||
|
||||
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
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
apt-get install curl -y
|
||||
|
Loading…
Reference in New Issue
Block a user