Skip to content

Commit

Permalink
Merge pull request #1028 from openziti/1026-postinstall-scriptlet-syn…
Browse files Browse the repository at this point in the history
…tax-error

fix postinstall scriptlet syntax
  • Loading branch information
qrkourier authored Oct 28, 2024
2 parents 9b319c5 + 77f19df commit 832a9ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion programs/ziti-edge-tunnel/package/deb/postinst.in
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ if [ "$1" = "configure" ]; then
echo "Completed clean install of @SYSTEMD_SERVICE_NAME@."\
"Get started by adding an identity: Start @SYSTEMD_UNIT_FILE_NAME@ and run:" \
| fold -w $ssize
echo " ziti-edge-tunnel add --jwt \"\$(< ziti_id.jwt)\" --identity \"ziti_id\""
echo ' ziti-edge-tunnel add --jwt "$(< ziti_id.jwt)" --identity "ziti_id"'
fi
if [ "${service_user}" = "root" ]; then
echo "@SYSTEMD_SERVICE_NAME@ will run as root, since policykit cannot be configured to authorize set-llmnr on this system". | fold -w $ssize
Expand Down
2 changes: 1 addition & 1 deletion programs/ziti-edge-tunnel/package/rpm/post.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ $1 -ne 0 ]; then
echo "Completed clean install of $SYSTEMD_SERVICE_NAME"\
"Get started by adding an identity: Start $SYSTEMD_UNIT_FILE_NAME and run:" \
| fold -w $ssize
echo " ziti-edge-tunnel add --jwt "\$(< ziti_id.jwt)\" --identity \"ziti_id\""
echo ' ziti-edge-tunnel add --jwt "$(< ziti_id.jwt)" --identity "ziti_id"'
fi
printf %"$ssize"s | tr " " "-"
printf '\n\n'
Expand Down

0 comments on commit 832a9ea

Please sign in to comment.