From 7163fcfdc140fa792a3d86415a46e5915b405c7b Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 2 May 2024 00:00:37 +0900 Subject: [PATCH] some error message grammar corrections --- install-scripts/00-dependencies.sh | 2 +- install-scripts/00-hypr-pkgs.sh | 2 +- install-scripts/bluetooth.sh | 2 +- install-scripts/fonts.sh | 2 +- install-scripts/force-install.sh | 2 +- install-scripts/gtk_themes.sh | 2 +- install-scripts/hyprcursor.sh | 2 +- install-scripts/hypridle.sh | 2 +- install-scripts/hyprlock.sh | 2 +- install-scripts/nwg-look.sh | 2 +- install-scripts/rofi-wayland.sh | 2 +- install-scripts/sddm.sh | 4 ++-- install-scripts/swww.sh | 2 +- install-scripts/thunar.sh | 2 +- install-scripts/xdph.sh | 2 +- install-scripts/zsh.sh | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/install-scripts/00-dependencies.sh b/install-scripts/00-dependencies.sh index 266a591..14bb994 100755 --- a/install-scripts/00-dependencies.sh +++ b/install-scripts/00-dependencies.sh @@ -115,7 +115,7 @@ printf "\n%s - Installing main dependencies.... \n" "${NOTE}" for PKG1 in "${dependencies[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index b7554d2..1c13674 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -79,7 +79,7 @@ printf "\n%s - Installing hyprland packages.... \n" "${NOTE}" for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/bluetooth.sh b/install-scripts/bluetooth.sh index 4ad49f8..4286088 100755 --- a/install-scripts/bluetooth.sh +++ b/install-scripts/bluetooth.sh @@ -24,7 +24,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/fonts.sh b/install-scripts/fonts.sh index c657e11..093ac55 100755 --- a/install-scripts/fonts.sh +++ b/install-scripts/fonts.sh @@ -29,7 +29,7 @@ printf "\n%s - Installing fonts.... \n" "${NOTE}" for PKG1 in "${fonts[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/force-install.sh b/install-scripts/force-install.sh index c715766..472574d 100755 --- a/install-scripts/force-install.sh +++ b/install-scripts/force-install.sh @@ -23,7 +23,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_force.log" printf "${NOTE} Force installing packages...\n" for FORCE in "${force[@]}"; do sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE Package installation failed, Please check the installation logs"; exit 1; } done clear \ No newline at end of file diff --git a/install-scripts/gtk_themes.sh b/install-scripts/gtk_themes.sh index 3f06374..b566bdc 100755 --- a/install-scripts/gtk_themes.sh +++ b/install-scripts/gtk_themes.sh @@ -25,7 +25,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/hyprcursor.sh b/install-scripts/hyprcursor.sh index b011b15..eb88508 100755 --- a/install-scripts/hyprcursor.sh +++ b/install-scripts/hyprcursor.sh @@ -30,7 +30,7 @@ printf "\n%s - Installing hyprcursor dependencies.... \n" "${NOTE}" for PKG1 in "${cursor[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/hypridle.sh b/install-scripts/hypridle.sh index 649f016..f033cd5 100755 --- a/install-scripts/hypridle.sh +++ b/install-scripts/hypridle.sh @@ -29,7 +29,7 @@ printf "\n%s - Installing hypridle dependencies.... \n" "${NOTE}" for PKG1 in "${idle[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index 869082e..9c84d6d 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -29,7 +29,7 @@ printf "\n%s - Installing hyprlock dependencies.... \n" "${NOTE}" for PKG1 in "${lock[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/nwg-look.sh b/install-scripts/nwg-look.sh index a251674..00d3cdf 100755 --- a/install-scripts/nwg-look.sh +++ b/install-scripts/nwg-look.sh @@ -30,7 +30,7 @@ MLOG="install-$(date +'%d-%H%M%S')_nwg-look2.log" for PKG1 in "${nwg_look[@]}"; 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/rofi-wayland.sh b/install-scripts/rofi-wayland.sh index 053a58a..6430a69 100755 --- a/install-scripts/rofi-wayland.sh +++ b/install-scripts/rofi-wayland.sh @@ -38,7 +38,7 @@ printf "\n%s - Installing rofi-wayland dependencies.... \n" "${NOTE}" printf "${NOTE} Force installing packages...\n" for FORCE in "${rofi[@]}"; do sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $FORCE Package installation failed, Please check the installation logs"; exit 1; } done printf "\n\n" diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index b75cd5b..c442d83 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -34,7 +34,7 @@ printf "\n%s - Installing sddm.... \n" "${NOTE}" for PKG1 in "${sddm1[@]}" ; do sudo apt-get install --no-install-recommends -y "$PKG1" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done @@ -44,7 +44,7 @@ printf "\n%s - Installing sddm additional stuff.... \n" "${NOTE}" for PKG2 in "${sddm2[@]}"; do install_package "$PKG2" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG2 install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG2 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/swww.sh b/install-scripts/swww.sh index 0b04ee5..1c975ea 100755 --- a/install-scripts/swww.sh +++ b/install-scripts/swww.sh @@ -30,7 +30,7 @@ printf "\n%s - Installing swww dependencies.... \n" "${NOTE}" for PKG1 in "${swww[@]}"; 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 install.log" + echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" exit 1 fi done diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index de305b2..9d7705f 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 694caf1..54ae298 100755 --- a/install-scripts/xdph.sh +++ b/install-scripts/xdph.sh @@ -24,7 +24,7 @@ MLOG="install-$(date +%d-%H%M%S)_xdph2.log" printf "${NOTE} Installing xdg-desktop-portal-gtk...\n" for portal in "${xdg[@]}"; do install_package "$portal" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $portal install had failed, please check the install.log"; exit 1; } + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $portal Package installation failed, Please check the installation logs"; exit 1; } done # Check if xdg-desktop-portal-hyprland folder exists and remove it diff --git a/install-scripts/zsh.sh b/install-scripts/zsh.sh index f06e49d..dc0a665 100755 --- a/install-scripts/zsh.sh +++ b/install-scripts/zsh.sh @@ -31,7 +31,7 @@ printf "${NOTE} Installing core zsh packages...${RESET}\n" for ZSHP in "${zsh[@]}"; do install_package "$ZSHP" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $ZSHP install had failed, please check the install.log" + echo -e "\e[1A\e[K${ERROR} - $ZSHP Package installation failed, Please check the installation logs" fi done