Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
fix error in select_printer.sh if the config directory does not exist
  • Loading branch information
T9Air committed Nov 28, 2024
1 parent f1bfa13 commit a5a8da1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Interface_scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ if [[ "$response1" == [Nn] ]]; then
exit 0
fi

# Create config directory if it doesn't exist
mkdir -p "$kpr/config"

# Get available printer configs
printer_configs=($(find_printer_configs))

Expand Down

0 comments on commit a5a8da1

Please sign in to comment.