mirror of
https://github.com/kevinveenbirkenbach/raspberry-pi-tools.git
synced 2024-11-22 10:01:04 +01:00
Solved shellcheck hints
This commit is contained in:
parent
4715b79aee
commit
40b9034b50
12
sd_setup.sh
12
sd_setup.sh
@ -8,12 +8,12 @@ echo "@since 2017-03-12"
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
# Define colors
|
# Define colors
|
||||||
red_color=`tput setaf 1`
|
red_color=$(tput setaf 1)
|
||||||
green_color=`tput setaf 2`
|
green_color=$(tput setaf 2)
|
||||||
yellow_color=`tput setaf 3`
|
yellow_color=$(tput setaf 3)
|
||||||
blue_color=`tput setaf 4`
|
blue_color=$(tput setaf 4)
|
||||||
magenta_color=`tput setaf 5`
|
magenta_color=$(tput setaf 5)
|
||||||
reset_color=`tput sgr0`
|
reset_color=$(tput sgr0)
|
||||||
|
|
||||||
message(){
|
message(){
|
||||||
echo "$1[$2]:${reset_color} $3 ";
|
echo "$1[$2]:${reset_color} $3 ";
|
||||||
|
Loading…
Reference in New Issue
Block a user