Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Added option to print installed version (-V). #84

Merged
merged 2 commits into from
Jan 28, 2018
Merged
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions package/usr/local/bin/hassbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ case $COMMAND in
"state")
get-suite-state-info $SUITE
;;
"-V")
dpkg -s hassbian-scripts | grep 'Version:' | awk '{print $2}'
exit
;;
*)
usage
;;
Expand Down