From 110bfa78b9579f52c7d602196e8ba48fb9c0933d Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 20 Oct 2024 19:38:58 +0200 Subject: [PATCH] Update main.sh --- main.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 5a8ac91..c8146c3 100755 --- a/main.sh +++ b/main.sh @@ -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/