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