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

Commit

Permalink
Added option to print installed version (-V) (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored and Landrash committed Jan 28, 2018
1 parent 7a60176 commit 4772593
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/usr/local/bin/hassbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ case $COMMAND in
share-log
exit
;;
"-V")
dpkg -s hassbian-scripts | grep 'Version:' | awk '{print $2}'
exit
;;
"show-installed")
show-installed-suites
exit
Expand Down

0 comments on commit 4772593

Please sign in to comment.