mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
fix line breaks
This commit is contained in:
parent
55f575b10c
commit
b2ca03fe35
|
@ -20,7 +20,7 @@ checkAURHelper() {
|
||||||
for helper in ${AUR_HELPERS}; do
|
for helper in ${AUR_HELPERS}; do
|
||||||
if command_exists "${helper}"; then
|
if command_exists "${helper}"; then
|
||||||
AUR_HELPER=${helper}
|
AUR_HELPER=${helper}
|
||||||
printf "Using ${helper} as AUR helper"
|
printf "%b\n" "Using ${helper} as AUR helper"
|
||||||
AUR_HELPER_CHECKED=true
|
AUR_HELPER_CHECKED=true
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@ -49,7 +49,7 @@ checkEscalationTool() {
|
||||||
for tool in ${ESCALATION_TOOLS}; do
|
for tool in ${ESCALATION_TOOLS}; do
|
||||||
if command_exists "${tool}"; then
|
if command_exists "${tool}"; then
|
||||||
ESCALATION_TOOL=${tool}
|
ESCALATION_TOOL=${tool}
|
||||||
printf "Using ${tool} for privilege escalation"
|
printf "%b\n" "Using ${tool} for privilege escalation"
|
||||||
ESCALATION_TOOL_CHECKED=true
|
ESCALATION_TOOL_CHECKED=true
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@ -77,7 +77,7 @@ checkPackageManager() {
|
||||||
for pgm in ${PACKAGEMANAGER}; do
|
for pgm in ${PACKAGEMANAGER}; do
|
||||||
if command_exists "${pgm}"; then
|
if command_exists "${pgm}"; then
|
||||||
PACKAGER=${pgm}
|
PACKAGER=${pgm}
|
||||||
printf "Using ${pgm}"
|
printf "%b\n" "Using ${pgm}"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -94,7 +94,7 @@ checkSuperUser() {
|
||||||
for sug in ${SUPERUSERGROUP}; do
|
for sug in ${SUPERUSERGROUP}; do
|
||||||
if groups | grep -q "${sug}"; then
|
if groups | grep -q "${sug}"; then
|
||||||
SUGROUP=${sug}
|
SUGROUP=${sug}
|
||||||
printf "Super user group ${SUGROUP}"
|
printf "%b\n" "Super user group ${SUGROUP}"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user