This commit is contained in:
Richard Sperry 2025-04-17 12:50:21 -07:00
parent 7cb8d61844
commit a33b74b86c
2 changed files with 3 additions and 5 deletions

View file

@ -30,7 +30,6 @@ run() {
if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then
for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh/!"$pathsfile"; do for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh/!"$pathsfile"; do
echo "Running custom script: $script" echo "Running custom script: $script"
chmod +x "$script" chmod +x "$script"
"$script" "$script"

View file

@ -4,10 +4,9 @@
# Home Assistant Community Add-on: Studio Code Server # Home Assistant Community Add-on: Studio Code Server
# Persists user settings and installs custom user packages. # Persists user settings and installs custom user packages.
# ============================================================================== # ==============================================================================
readonly GIT_USER_PATH=/data/git
readonly SSH_USER_PATH=/data/.ssh # shellcheck source=../paths.sh
readonly ZSH_HISTORY_FILE=/root/.zsh_history source "/etc/s6-overlay/s6-rc.d/paths.sh"
readonly ZSH_HISTORY_PERSISTANT_FILE=/data/.zsh_history
run() { run() {
setup_ssh setup_ssh