From 69509d6fa170967509ae8402f685734611075d1a Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Mon, 11 Nov 2024 11:17:36 +0100 Subject: [PATCH] Install external packages --- installer/installer.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index 282ddc9..f7716f9 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -25,9 +25,17 @@ check_root() { fi } +install_uftp() { + apt install uftp -y +} + +install_updcast () { + apt install $DOWNLOAD_DIR/packets/udpcast_20230924_amd64.deb +} + add_user_ogrepository() { - useradd -r -s /bin/bash ogrepository - echo 'ogrepository ALL=(ALL) NOPASSWD: /usr/bin/python3' > ogrepository + useradd -r -s /bin/bash ogrepository + echo 'ogrepository ALL=(ALL) NOPASSWD: ALL' > ogrepository } create_directories() { @@ -65,6 +73,9 @@ install_files() { ## Main program check_root install_dependencies +install_external_packages +install_uftp +install_updcast add_user_ogrepository clone_repository "$GIT_BRANCH" create_directories