fixed arch
This commit is contained in:
parent
669b76b606
commit
889e6293fd
@ -35,15 +35,15 @@ char *Alpine[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
char *Arch[] = {
|
char *Arch[] = {
|
||||||
" ",
|
" ",
|
||||||
"\033[1;34m /\\ ",
|
"\033[1;34m /\\ ",
|
||||||
"\033[1;34m / \\ ",
|
"\033[1;34m / \\ ",
|
||||||
"\033[1;34m /\\ \\ ",
|
"\033[1;34m /\\ \\ ",
|
||||||
"\033[1;34m / \\ ",
|
"\033[1;34m / \\ ",
|
||||||
"\033[1;37m / ,, \\ ",
|
"\033[1;37m / ,, \\ ",
|
||||||
"\033[1;37m / | | -\\ ",
|
"\033[1;37m / | | -\\ ",
|
||||||
"\033[1;37m/_-'' ''-_\\ ",
|
"\033[1;37m/_-'' ''-_\\ ",
|
||||||
" "
|
" "
|
||||||
};
|
};
|
||||||
|
|
||||||
char *Android[] = {
|
char *Android[] = {
|
||||||
|
@ -86,7 +86,7 @@ void GetArt(FETCH *fetch, int flag) {
|
|||||||
else if (strstr(fetch->os_name, "Ubuntu"))
|
else if (strstr(fetch->os_name, "Ubuntu"))
|
||||||
SetArt(fetch, sizeof(Ubuntu), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Ubuntu, "\033[1;33m", flag);
|
SetArt(fetch, sizeof(Ubuntu), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Ubuntu, "\033[1;33m", flag);
|
||||||
|
|
||||||
else if (!chdir("/system"))
|
else if (!chdir("/system") && !strcmp(fetch->os_name, "Linux"))
|
||||||
SetArt(fetch, sizeof(Android), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Android, "\033[32m", flag);
|
SetArt(fetch, sizeof(Android), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Android, "\033[32m", flag);
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user