File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33# === vars ===
44ROOT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
5- WAIT=5 # basic time to wait in between
5+ WAIT=3 # basic time to wait in between
66
77# === func ===
88# sudo temp for unattended install
@@ -18,7 +18,7 @@ keep_alive_sudo() {
1818 echo " keep-alive (sudo) started"
1919 return 0
2020 else
21- echo " authentication failed; abort "
21+ echo " authentication failed"
2222 return 1
2323 fi
2424}
@@ -43,7 +43,7 @@ usr_interact() {
4343}
4444# installing required software
4545install_requirements () {
46- sudo pacman -Syu --noconfirm --needed openssh borg rsync && return 0
46+ sudo pacman -Syu --noconfirm --needed openssh borg python-llfuse rsync && return 0
4747 return 1
4848}
4949# rsync recovery
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# === vars ===
4- pkgs_dir=" $PKGS_WORKING_DIR /packages "
4+ pkgs_dir=" $PKGS_WORKING_DIR "
55# pacman pkgs
66pacman_pkgs_dir=" $pkgs_dir /pacman"
77nvidia_pkgs=" $pacman_pkgs_dir /nvidia.txt"
@@ -22,7 +22,7 @@ check_pkgs() {
2222 for pkgs_file in " $@ " ; do
2323 echo " loading pkg file *$pkgs_file * ..."
2424 if [[ ! -f " $pkgs_file " ]]; then
25- echo " *$pkgs_file * not found; abort installation "
25+ echo " *$pkgs_file * not found"
2626 return 1
2727 fi
2828 done
@@ -118,7 +118,7 @@ load_modules() {
118118 else
119119 echo " *$modules_list * not found"
120120 fi
121- exit 1
121+ return 1
122122}
123123
124124# === main ===
You can’t perform that action at this time.
0 commit comments