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

Improve text prompts #117

Merged
merged 1 commit into from
Feb 20, 2018
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/mariadb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function mariadb-show-short-info {
}

function mariadb-show-long-info {
echo "Installs the MariaDB database engine and dependecies for use with the recorder in Home Assistant."
echo "Installs the MariaDB database engine and dependecies for use with the recorder component in Home Assistant."
}

function mariadb-show-copyright-info {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/mssql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function mssql-show-short-info {
}

function mssql-show-long-info {
echo "Installs the MS SQL database engine and dependecies for use with the recorder in Home Assistant."
echo "Installs the MS SQL database engine and dependecies for use with the recorder component in Home Assistant."
}

function mssql-show-copyright-info {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function mysql-show-short-info {
}

function mysql-show-long-info {
echo "Installs the MySQL database engine and dependecies for use with the recorder in Home Assistant."
echo "Installs the MySQL database engine and dependecies for use with the recorder component in Home Assistant."
}

function mysql-show-copyright-info {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/postgresql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function postgresql-show-short-info {
}

function postgresql-show-long-info {
echo "Installs the PostgreSQL database engine and dependecies for use with the recorder in Home Assistant."
echo "Installs the PostgreSQL database engine and dependecies for use with the recorder component in Home Assistant."
}

function postgresql-show-copyright-info {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function samba-show-short-info {
}

function samba-show-long-info {
echo "Installs the samba package for sharing the hassbian configuration files."
echo "Installs the samba package for sharing the Hassbian configuration files."
echo "over the network."
}

Expand Down
4 changes: 2 additions & 2 deletions package/opt/hassbian/suites/tradfri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function tradfri-show-short-info {
}

function tradfri-show-long-info {
echo "Installs the libraries needed to controll IKEA Tradfri devices from this Pi."
echo "Installs the libraries needed to control IKEA Tradfri devices from this Pi."
}

function tradfri-show-copyright-info {
Expand All @@ -28,7 +28,7 @@ apt-get install -y dh-autoreconf
echo "Changing to homeassistant user"
sudo -u homeassistant -H /bin/bash <<EOF

echo "Activating to Home Assistant venv"
echo "Activating Home Assistant venv"
source /srv/homeassistant/bin/activate

echo "Installing dependencies for Tradfri."
Expand Down
4 changes: 2 additions & 2 deletions package/opt/hassbian/suites/webterminal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ function webterminal-show-short-info {
}

function webterminal-show-long-info {
echo "Installs an websevice terminal to controll your installation."
echo "Installs an websevice terminal to control your installation."
}

function webterminal-show-copyright-info {
echo "Original consept by Ludeeus <https://github.com/ludeeus>"
echo "Original concept by Ludeeus <https://github.com/ludeeus>"
}

function webterminal-install-package {
Expand Down
4 changes: 2 additions & 2 deletions package/usr/local/bin/hassbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ function share-log {
else
echo "This will put the output from your last operation on hastebin."
echo "This could include sensitive informastion."
echo "If you are unsure about what it contains, you can rin 'hassbian-config log' to check."
echo -n "Do you want to crate an hastebin link? [N/y] : "
echo "If you are unsure about what it contains, you can run 'hassbian-config log' to check."
echo -n "Do you want to create an hastebin link? [N/y] : "

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In POSIX sh, echo flags are undefined.

read -r RESPONSE
if [ "$RESPONSE" == "y" ] || [ "$RESPONSE" == "Y" ]; then
echo ""
Expand Down