diff --git a/install-scripts/01-hypr-pkgs.sh b/install-scripts/01-hypr-pkgs.sh index ba6c279..063119e 100755 --- a/install-scripts/01-hypr-pkgs.sh +++ b/install-scripts/01-hypr-pkgs.sh @@ -122,7 +122,7 @@ printf "\n%.0s" {1..1} if ! command -v yad &> /dev/null; then echo "${INFO} Installing ${YELLOW}YAD from assets${RESET} ..." sudo dpkg -i assets/yad_0.40.0-1+b2_amd64.deb - sudo apt-get install -f -y + sudo apt install -f -y echo "${INFO} ${YELLOW}YAD from assets${RESET} succesfully installed ..." fi diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index 0e489c6..d3713dc 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -30,7 +30,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_sddm.log" # Install SDDM (no-recommends) printf "\n%s - Installing ${SKY_BLUE}SDDM and dependencies${RESET} .... \n" "${NOTE}" for PKG1 in "${sddm1[@]}" ; do - sudo apt-get install --no-install-recommends -y "$PKG1" | tee -a "$LOG" + sudo apt install --no-install-recommends -y "$PKG1" | tee -a "$LOG" done # Installation of additional sddm stuff @@ -40,9 +40,9 @@ done # Check if other login managers are installed and disabling their service before enabling sddm for login_manager in lightdm gdm lxdm lxdm-gtk3; do - if sudo apt-get list installed "$login_manager" &>> /dev/null; then - echo "Disabling $login_manager..." - sudo systemctl disable "$login_manager" 2>&1 | tee -a "$LOG" + if sudo apt list installed "$login_manager" > /dev/null; then + echo "disabling $login_manager..." + sudo systemctl disable "$login_manager.service" 2>&1 | tee -a "$LOG" fi done diff --git a/install.sh b/install.sh index 7b2e358..c60cfe6 100755 --- a/install.sh +++ b/install.sh @@ -90,7 +90,7 @@ printf "\n%.0s" {1..1} # install pciutils if detected not installed. Necessary for detecting GPU if ! dpkg -l | grep -w pciutils > /dev/null; then echo "pciutils is not installed. Installing..." - sudo apt-get install -y pciutils + sudo apt install -y pciutils printf "\n%.0s" {1..1} fi