mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
add ascii berry to beginning of installer
This commit is contained in:
parent
2b3afbfef8
commit
5e16487ef6
1 changed files with 27 additions and 0 deletions
|
@ -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 a new issue