Skip to content

Commit

Permalink
Fix manual docker installation (#11)
Browse files Browse the repository at this point in the history
It fails in manual docker installation, due to the directory no being
empty.  This commit fixes this behaviour
  • Loading branch information
janvhs authored Sep 17, 2024
1 parent 6cf6816 commit 1b4744c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/trento-install-checks
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ checks_target="/usr/share/trento/checks"
install -d -m 0755 "$checks_target" || exit $?

# Remove old checks, if they exist
rm "$checks_target"/* || exit $?
rm -f "$checks_target"/* || exit $?

# Install new checks
install -p -m 0644 "$checks_src"/* "$checks_target" || exit $?
Expand Down

0 comments on commit 1b4744c

Please sign in to comment.