mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
some error message grammar corrections
This commit is contained in:
parent
5ebaed9545
commit
7163fcfdc1
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user