Update main.sh

This commit is contained in:
ferreo 2024-10-20 19:38:58 +02:00
parent 4eec31d2e0
commit 110bfa78b9

View File

@ -14,11 +14,14 @@ wget -qO - "https://proget.${makedeb_url}/debian-feeds/makedeb.pub" | gpg --dear
echo "deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.${makedeb_url} makedeb main" | sudo tee /etc/apt/sources.list.d/makedeb.list 1> /dev/null
apt-get update -y
apt-get install -y makedeb
useradd --no-create-home --shell=/bin/false build && usermod -L build
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
git clone 'https://mpr.makedeb.org/xivlauncher-rb'
cd xivlauncher-rb/
makedeb -s
su - build -c 'makedeb -s'
mkdir -p ../output
mv ./*.deb ../output/