Merge pull request #1311 from pi-hole/tweak/ascii-berry
add ascii berry to beginning of installer
This commit is contained in:
commit
9df6a8dd06
|
@ -54,6 +54,32 @@ skipSpaceCheck=false
|
||||||
reconfigure=false
|
reconfigure=false
|
||||||
runUnattended=false
|
runUnattended=false
|
||||||
|
|
||||||
|
show_ascii_berry() {
|
||||||
|
echo "
|
||||||
|
.;;,.
|
||||||
|
.ccccc:,.
|
||||||
|
:cccclll:. ..,,
|
||||||
|
:ccccclll. ;ooodc
|
||||||
|
'ccll:;ll .oooodc
|
||||||
|
.;cll.;;looo:.
|
||||||
|
.. ','.
|
||||||
|
.',,,,,,'.
|
||||||
|
.',,,,,,,,,,.
|
||||||
|
.',,,,,,,,,,,,....
|
||||||
|
....''',,,,,,,'.......
|
||||||
|
......... .... .........
|
||||||
|
.......... ..........
|
||||||
|
.......... ..........
|
||||||
|
......... .... .........
|
||||||
|
........,,,,,,,'......
|
||||||
|
....',,,,,,,,,,,,.
|
||||||
|
.',,,,,,,,,'.
|
||||||
|
.',,,,,,'.
|
||||||
|
..'''.
|
||||||
|
"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Compatibility
|
# Compatibility
|
||||||
distro_check() {
|
distro_check() {
|
||||||
if command -v apt-get &> /dev/null; then
|
if command -v apt-get &> /dev/null; then
|
||||||
|
@ -1262,6 +1288,7 @@ main() {
|
||||||
|
|
||||||
######## FIRST CHECK ########
|
######## FIRST CHECK ########
|
||||||
# Must be root to install
|
# Must be root to install
|
||||||
|
show_ascii_berry
|
||||||
echo ":::"
|
echo ":::"
|
||||||
if [[ ${EUID} -eq 0 ]]; then
|
if [[ ${EUID} -eq 0 ]]; then
|
||||||
echo "::: You are root."
|
echo "::: You are root."
|
||||||
|
|
Loading…
Reference in New Issue