generated from cosmic-packages/cosmic-applets
Update main.sh
This commit is contained in:
parent
b5c890c9eb
commit
f0c6719556
2
main.sh
2
main.sh
@ -13,10 +13,10 @@ git clone https://github.com/pop-os/cosmic-settings.git
|
|||||||
cd cosmic-settings
|
cd cosmic-settings
|
||||||
|
|
||||||
# Get build deps
|
# Get build deps
|
||||||
|
awk '{gsub(/(,[ \t]*)?cargo(,[ \t]*)?|,[ \t]*cargo|cargo(,[ \t]*)?/, ""); gsub(/(,[ \t]*)?rustc(,[ \t]*)?|,[ \t]*rustc|rustc(,[ \t]*)?/, ""); print}' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control
|
||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
apt-get install curl -y
|
apt-get install curl -y
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
|
||||||
awk '{gsub(/(,[ \t]*)?cargo(,[ \t]*)?|,[ \t]*cargo|cargo(,[ \t]*)?/, ""); gsub(/(,[ \t]*)?rustc(,[ \t]*)?|,[ \t]*rustc|rustc(,[ \t]*)?/, ""); print}' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control
|
|
||||||
LOGNAME=root dh_make --createorig -y -l -p cosmic-settings_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
LOGNAME=root dh_make --createorig -y -l -p cosmic-settings_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
|
Loading…
Reference in New Issue
Block a user