Skip to content

Commit b43a229

Browse files
fix error in path + non-executable scripts
1 parent d663324 commit b43a229

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

image/scripts/os2borgerpc_setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ figlet "=== About to run assorted OS2borgerPC scripts from the scripts repo ==="
115115
git clone --depth 1 https://github.com/OS2borgerPC/os2borgerpc-core-scripts.git
116116

117117
# Cloned script directory
118-
SCRIPT_DIR="/scripts"
118+
SCRIPT_DIR="/os2borgerpc-core-scripts/scripts"
119+
120+
# Make sure all scripts are executable
121+
chmod +x $SCRIPT_DIR/*
119122

120123
# Initially disable unattended upgrades to prevent problems with firstboot script
121124
"$SCRIPT_DIR/apt_periodic_control.sh" false

0 commit comments

Comments
 (0)