Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg-architecture -> dpkg #251

Merged
merged 1 commit into from
Apr 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion environments/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _SECRET_FREEBSD=/usr/local/etc/${_PROJECT}.secret
_FLAGS_FREEBSD=/usr/local/etc/osquery.flags
_CERT_FREEBSD=/usr/local/etc/certs/${_PROJECT}.crt

_DEB_ARCH=$(dpkg-architecture -q DEB_BUILD_ARCH)
_DEB_ARCH=$(dpkg --print-architecture)

_OSQUERY_VER="5.2.2"
_OSQUERY_PKG="https://osquery-packages.s3.amazonaws.com/darwin/osquery-$_OSQUERY_VER.pkg"
Expand Down Expand Up @@ -214,6 +214,7 @@ log "REMINDER! $_SERVICE has been started and enabled."

# EOF
`

// QuickAddScriptPowershell to keep the raw template for the quick add powershell script
const QuickAddScriptPowershell = `
##
Expand Down Expand Up @@ -492,6 +493,7 @@ function QuickAdd-Node {

QuickAdd-Node
`

// QuickRemoveScriptShell to keep the raw template for the quick remove shell script
const QuickRemoveScriptShell = `
#!/bin/sh
Expand Down Expand Up @@ -620,6 +622,7 @@ log "WARNING! $_SERVICE has been stopped and disabled."

# EOF
`

// QuickRemoveScriptPowershell to keep the raw template for the quick remove powershell script
const QuickRemoveScriptPowershell = `
##
Expand Down