forked from wimpysworld/deb-get
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Home Assistant supervised installer and os-agent (wimpysworld#642)
* Add Home Assistant supervised installer and os-agent * Removed README changes and ARCHS_SUPPORTED var
- Loading branch information
1 parent
7aae1a5
commit 6f9337a
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
DEFVER=1 | ||
get_github_releases "https://api.github.com/repos/home-assistant/supervised-installer/releases/latest" | ||
if [ "${ACTION}" != "prettylist" ]; then | ||
URL=$(grep "browser_download_url.*\.deb\"" "${CACHE_DIR}/${APP}.json" | cut -d'"' -f4) | ||
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | tr -d v)" | ||
fi | ||
PRETTY_NAME="Home Assistant Supervised" | ||
WEBSITE="https://github.com/home-assistant/supervised-installer" | ||
SUMMARY="This is Home Assistant supervised installer, that provides the full Home Assistant experience on a regular operating system." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
DEFVER=1 | ||
get_github_releases "https://api.github.com/repos/home-assistant/os-agent/releases/latest" | ||
if [ "${ACTION}" != "prettylist" ]; then | ||
URL="$(grep "browser_download_url.*x86_64\.deb\"" "${CACHE_DIR}/${APP}.json" | head -n1 | cut -d'"' -f4)" | ||
VERSION_PUBLISHED="$(echo ${URL} | cut -d'_' -f2)" | ||
fi | ||
PRETTY_NAME="Agent for Home Assistant OS" | ||
WEBSITE="https://github.com/home-assistant/os-agent" | ||
SUMMARY="This is the OS Agent for Home Assistant. It is used for Home Assistant OS and Home Assistant Supervised installation types and it allows the Home Assistant Supervisor to communicate with the host operating system." |