From b2ca03fe3543d1680c6bdd1167be5d75e72bf0e1 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 19 Sep 2024 12:36:35 -0500 Subject: [PATCH] fix line breaks --- tabs/common-script.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tabs/common-script.sh b/tabs/common-script.sh index d0c0c470..c6003a84 100644 --- a/tabs/common-script.sh +++ b/tabs/common-script.sh @@ -20,7 +20,7 @@ checkAURHelper() { for helper in ${AUR_HELPERS}; do if command_exists "${helper}"; then AUR_HELPER=${helper} - printf "Using ${helper} as AUR helper" + printf "%b\n" "Using ${helper} as AUR helper" AUR_HELPER_CHECKED=true return 0 fi @@ -49,7 +49,7 @@ checkEscalationTool() { for tool in ${ESCALATION_TOOLS}; do if command_exists "${tool}"; then ESCALATION_TOOL=${tool} - printf "Using ${tool} for privilege escalation" + printf "%b\n" "Using ${tool} for privilege escalation" ESCALATION_TOOL_CHECKED=true return 0 fi @@ -77,7 +77,7 @@ checkPackageManager() { for pgm in ${PACKAGEMANAGER}; do if command_exists "${pgm}"; then PACKAGER=${pgm} - printf "Using ${pgm}" + printf "%b\n" "Using ${pgm}" break fi done @@ -94,7 +94,7 @@ checkSuperUser() { for sug in ${SUPERUSERGROUP}; do if groups | grep -q "${sug}"; then SUGROUP=${sug} - printf "Super user group ${SUGROUP}" + printf "%b\n" "Super user group ${SUGROUP}" break fi done