Skip to content

Commit

Permalink
skip building the now deprecated c8y-command-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Dec 17, 2024
1 parent 76e0f77 commit 67a75d5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The configuration is managed from the following file, and an example of the cont
**File**

```sh
/etc/c8y-command-plugin/env
/etc/tedge-command-plugin/env
```

**Contents**
Expand Down
1 change: 0 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set export
IMAGE := env_var_or_default("IMAGE", "debian-12")

build *ARGS:
./ci/build.sh {{ARGS}} -- -f nfpm.c8y-command-plugin.yaml
./ci/build.sh {{ARGS}} -- -f nfpm.tedge-command-plugin.yaml

publish *ARGS:
Expand Down
2 changes: 1 addition & 1 deletion nfpm.tedge-command-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ contents:
group: tedge

- src: ./src/env
dst: /etc/c8y-command-plugin/env
dst: /etc/tedge-command-plugin/env
type: config|noreplace
file_info:
mode: 0644
Expand Down
2 changes: 1 addition & 1 deletion src/tedge-command-plugin/shell_execute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SHELL_OPTIONS="bash sh"
SHELL_BIN=

# Load settings file
SETTINGS_FILE=/etc/c8y-command-plugin/env
SETTINGS_FILE=/etc/tedge-command-plugin/env
if [ -f "$SETTINGS_FILE" ]; then
FOUND_FILE=$(find "$SETTINGS_FILE" -perm 644 | head -n1)

Expand Down

0 comments on commit 67a75d5

Please sign in to comment.