A local/global variable mixup fixed
This commit is contained in:
parent
317c202084
commit
285a14c433
@ -57,6 +57,7 @@ unsetVars() {
|
||||
unset OVER
|
||||
unset NP_USR
|
||||
unset pkgmgr
|
||||
unset relll
|
||||
}
|
||||
|
||||
introduction() {
|
||||
@ -80,7 +81,7 @@ introduction() {
|
||||
|
||||
# first, let's check it's Fedora we're running on...
|
||||
isFedora() {
|
||||
local relll="/etc/redhat-release"
|
||||
export relll="/etc/redhat-release"
|
||||
if [ ! -f "$relll" ]; then
|
||||
echo -e " ${CROSS} only ${COL_LIGHT_BLUE}Fedora/CentOS are supported${COL_NC} at the moment, exiting..."
|
||||
unsetVars && exit 9807362
|
||||
|
Loading…
Reference in New Issue
Block a user