Skip to content

Commit

Permalink
Add -p flag (#5093)
Browse files Browse the repository at this point in the history
Add the `-p` to the `mkdir` so it doesn't fail when the folder already exists

Co-authored-by: Ben Meadors <[email protected]>
  • Loading branch information
2 people authored and caveman99 committed Nov 3, 2024
1 parent 873f416 commit 00a9d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/native-install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

cp "release/meshtasticd_linux_$(uname -m)" /usr/sbin/meshtasticd
mkdir /etc/meshtasticd
mkdir -p /etc/meshtasticd
if [[ -f "/etc/meshtasticd/config.yaml" ]]; then
cp bin/config-dist.yaml /etc/meshtasticd/config-upgrade.yaml
else
Expand Down

0 comments on commit 00a9d7f

Please sign in to comment.