Blame tests/p_lsb/lsb_release_brand_test.sh
|
Athmane Madjoudj |
d51c12 |
#!/bin/sh
|
|
Athmane Madjoudj |
d51c12 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
d51c12 |
|
|
![](https://seccdn.libravatar.org/avatar/5fce1a063623e2ba65b6272154dc7cdae7e69fcaad3f14c0606ca456fdbee616?s=16&d=retro) |
d950e8 |
t_Log "Running $0 - LSB CentOS branding check."
|
|
![](https://seccdn.libravatar.org/avatar/567cc4a3492d3940b0e3594fbf0d44b33dfe9068aaa9b59f572a4cffd267746c?s=16&d=retro) |
2b3708 |
|
|
Athmane Madjoudj |
d51c12 |
lsb_release -i | grep -q "CentOS" && \
|
|
![](https://seccdn.libravatar.org/avatar/5fce1a063623e2ba65b6272154dc7cdae7e69fcaad3f14c0606ca456fdbee616?s=16&d=retro) |
d950e8 |
lsb_release -d | grep -q "CentOS"
|
|
Athmane Madjoudj |
d51c12 |
|
|
Athmane Madjoudj |
d51c12 |
t_CheckExitStatus $?
|