mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 02:10:13 +01:00
replaced all apt-get to apt only
This commit is contained in:
parent
cfc3bbd4b6
commit
8e97337cca
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user