mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 22:14:28 +00:00
minor code changes to reduce deletions
This commit is contained in:
parent
9daac8000c
commit
b957976519
|
@ -10,6 +10,10 @@ command_exists() {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkEnv() {
|
checkEnv() {
|
||||||
|
checkCommandRequirements 'curl groups sudo'
|
||||||
|
checkPackageManager 'apt-get dnf pacman zypper nix-env'
|
||||||
|
checkSuperUser
|
||||||
|
checkDistro
|
||||||
## Check for requirements.
|
## Check for requirements.
|
||||||
REQUIREMENTS='curl groups sudo'
|
REQUIREMENTS='curl groups sudo'
|
||||||
for req in ${REQUIREMENTS}; do
|
for req in ${REQUIREMENTS}; do
|
||||||
|
|
|
@ -10,6 +10,10 @@ command_exists() {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkEnv() {
|
checkEnv() {
|
||||||
|
checkCommandRequirements 'curl groups sudo'
|
||||||
|
checkPackageManager 'apt-get dnf pacman zypper nix-env'
|
||||||
|
checkSuperUser
|
||||||
|
checkDistro
|
||||||
## Check for requirements.
|
## Check for requirements.
|
||||||
REQUIREMENTS='curl groups sudo'
|
REQUIREMENTS='curl groups sudo'
|
||||||
for req in ${REQUIREMENTS}; do
|
for req in ${REQUIREMENTS}; do
|
||||||
|
|
|
@ -10,6 +10,10 @@ command_exists() {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkEnv() {
|
checkEnv() {
|
||||||
|
checkCommandRequirements 'curl groups sudo'
|
||||||
|
checkPackageManager 'apt-get dnf pacman zypper nix-env'
|
||||||
|
checkSuperUser
|
||||||
|
checkDistro
|
||||||
## Check for requirements.
|
## Check for requirements.
|
||||||
REQUIREMENTS='curl groups sudo'
|
REQUIREMENTS='curl groups sudo'
|
||||||
for req in $REQUIREMENTS; do
|
for req in $REQUIREMENTS; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user