Skip to content

Commit 4a617a2

Browse files
committed
fixed fatal syntax error in core.sh
1 parent 367531e commit 4a617a2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ usr_interact() {
4343
}
4444
# installing required software
4545
install_requirements() {
46-
sudo pacman -Syu openssh borg rsync && return 0
46+
sudo pacman -Syu --noconfirm --needed openssh borg rsync && return 0
4747
return 1
4848
}
4949
# rsync recovery

src/packages/core.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ PKGS_WORKING_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # location env
55

66
# === func ===
77
# installing packages with pacman, yay & flatpak
8-
install_pkgs(
8+
install_pkgs() {
99
inst_pacman_pkgs $nvidia_pkgs $pacman_pkgs
1010
inst_yay_pkgs $yay_pkgs
1111
inst_flatpak_pkgs $flatpak_pkgs
12-
)
12+
}
1313
# setup services
1414
setup_services() {
1515
psql_service

0 commit comments

Comments
 (0)