Update main.sh

This commit is contained in:
ferreo 2024-08-04 17:20:07 +02:00
parent b5c890c9eb
commit f0c6719556

View File

@ -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