Install external packages
parent
c93e649309
commit
69509d6fa1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue