From 0dec7b3ef20a841ed8aec02b1cc0723a9d40eb6e Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 2 May 2024 00:00:36 +0900 Subject: [PATCH] some error message grammar corrections --- install-scripts/00-hypr-pkgs.sh | 4 ++-- install-scripts/bluetooth.sh | 2 +- install-scripts/gtk_themes.sh | 2 +- install-scripts/hyprland.sh | 2 +- install-scripts/pipewire.sh | 2 +- install-scripts/rog.sh | 2 +- install-scripts/sddm.sh | 2 +- install-scripts/thunar.sh | 2 +- install-scripts/xdph.sh | 2 +- install-scripts/zsh.sh | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index 8761808..aef7c38 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -102,7 +102,7 @@ printf "\n%s - Installing hyprland packages.... \n" "${NOTE}" for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${fonts[@]}" "${Extra[@]}"; do install_package "$PKG1" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 install had failed, please check the log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done @@ -112,7 +112,7 @@ printf "\n%s - Checking if mako or dunst are installed and removing for swaync t for PKG in "${uninstall[@]}"; do uninstall_package "$PKG" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG uninstallation had failed, please check the log" + echo -e "\e[1A\e[K${ERROR} - $PKG uninstallation failed, please check the log" exit 1 fi done diff --git a/install-scripts/bluetooth.sh b/install-scripts/bluetooth.sh index 4eafee4..bbb0301 100755 --- a/install-scripts/bluetooth.sh +++ b/install-scripts/bluetooth.sh @@ -25,7 +25,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_bluetooth.log" printf "${NOTE} Installing Bluetooth Packages...\n" for BLUE in "${blue[@]}"; do install_package "$BLUE" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $BLUE install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $BLUE Package installation failed, Please check the installation logs"; exit 1; } done printf " Activating Bluetooth Services...\n" diff --git a/install-scripts/gtk_themes.sh b/install-scripts/gtk_themes.sh index b384462..3caff1d 100755 --- a/install-scripts/gtk_themes.sh +++ b/install-scripts/gtk_themes.sh @@ -26,7 +26,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_themes.log" for PKG1 in "${engine[@]}"; do install_package "$PKG1" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\033[1A\033[K${ERROR} - $PKG1 install had failed, please check the install.log" + echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index ab7c244..1b40b00 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -34,7 +34,7 @@ fi printf "${NOTE} Installing Hyprland .......\n" for HYPR in "${hypr[@]}"; do install_package "$HYPR" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $HYPR install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $HYPR Package installation failed, Please check the installation logs"; exit 1; } done clear \ No newline at end of file diff --git a/install-scripts/pipewire.sh b/install-scripts/pipewire.sh index 3ea0232..719bfbc 100755 --- a/install-scripts/pipewire.sh +++ b/install-scripts/pipewire.sh @@ -39,7 +39,7 @@ systemctl --user disable --now pulseaudio.socket pulseaudio.service 2>/dev/null printf "${NOTE} Installing Pipewire Packages...\n" for PIPEWIRE in "${pipewire[@]}"; do install_package "$PIPEWIRE" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $PIPEWIRE install had failed. Please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $PIPEWIRE Package installation failed, Please check the installation logs"; exit 1; } done printf "Activating Pipewire Services...\n" diff --git a/install-scripts/rog.sh b/install-scripts/rog.sh index fad133d..3cf5da9 100755 --- a/install-scripts/rog.sh +++ b/install-scripts/rog.sh @@ -21,7 +21,7 @@ printf " Installing ASUS ROG packages...\n" for ASUS in asusctl supergfxctl rog-control-center; do install_package "$ASUS" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $ASUS install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $ASUS Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index 5d020ef..bcd584e 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -31,7 +31,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_sddm.log" printf "${NOTE} Installing sddm and dependencies........\n" for package in "${sddm[@]}"; do install_package "$package" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $package install has failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $package Package installation failed, Please check the installation logs"; exit 1; } done # Check if other login managers installed and disabling its service before enabling sddm diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index 04f9524..261e6de 100755 --- a/install-scripts/thunar.sh +++ b/install-scripts/thunar.sh @@ -28,7 +28,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_thunar.log" printf "${NOTE} Installing Thunar Packages...\n" for THUNAR in "${thunar[@]}"; do install_package "$THUNAR" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR Package installation failed, Please check the installation logs"; exit 1; } done # Check for existing configs and copy if does not exist diff --git a/install-scripts/xdph.sh b/install-scripts/xdph.sh index 68e546a..2c70ab1 100755 --- a/install-scripts/xdph.sh +++ b/install-scripts/xdph.sh @@ -28,7 +28,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_xdph.log" for xdgs in "${xdg[@]}"; do install_package "$xdgs" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $xdph install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $xdph Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/zsh.sh b/install-scripts/zsh.sh index 8c49778..a8969c9 100755 --- a/install-scripts/zsh.sh +++ b/install-scripts/zsh.sh @@ -50,7 +50,7 @@ printf "${NOTE} Installing core zsh packages...${RESET}\n" for ZSH in "${zsh[@]}"; do install_package "$ZSH" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $ZSH install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $ZSH Package installation failed, Please check the installation logs" fi done