Update main.sh
This commit is contained in:
parent
e251a7a33a
commit
563275711c
8
main.sh
8
main.sh
@ -3,9 +3,11 @@
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Clone Upstream
|
||||
mkdir -p ./src-pkg-name
|
||||
cp -rvf ./debian ./src-pkg-name/
|
||||
cd ./src-pkg-name/
|
||||
git clone https://gitlab.freedesktop.org/hadess/switcheroo-control -b 2.6
|
||||
cp -rvf ./debian ./switcheroo-control/
|
||||
cd ./switcheroo-control
|
||||
|
||||
for i in ../patches/* ; do echo "Applying Patch: $i" && patch -Np1 -i $i || echo "Applying Patch $i Failed!"; done
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
Loading…
Reference in New Issue
Block a user