mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
another update
This commit is contained in:
parent
c447605701
commit
04c632ca9e
@ -104,14 +104,12 @@ done
|
|||||||
|
|
||||||
# install YAD from assets. NOTE This is downloaded from SID repo and sometimes
|
# install YAD from assets. NOTE This is downloaded from SID repo and sometimes
|
||||||
# Trixie is removing YAD for some strange reasons
|
# Trixie is removing YAD for some strange reasons
|
||||||
|
|
||||||
# Check if yad is installed
|
# Check if yad is installed
|
||||||
if ! command -v yad &> /dev/null; then
|
if ! command -v yad &> /dev/null; then
|
||||||
# yad is not installed, so install it
|
|
||||||
echo "${INFO} Installing ${YELLOW}YAD from assets${RESET} ..."
|
echo "${INFO} Installing ${YELLOW}YAD from assets${RESET} ..."
|
||||||
sudo dpkg -i assets/yad_0.40.0-1+b2_amd64.deb
|
sudo dpkg -i assets/yad_0.40.0-1+b2_amd64.deb
|
||||||
# Handle potential dependency issues after installing the .deb
|
|
||||||
sudo apt-get install -f -y
|
sudo apt-get install -f -y
|
||||||
|
echo "${INFO} ${YELLOW}YAD from assets${RESET} succesfully installed ..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
@ -12,6 +12,7 @@ rofi=(
|
|||||||
libnl-3-dev
|
libnl-3-dev
|
||||||
libasound2-dev
|
libasound2-dev
|
||||||
libstartup-notification0-dev
|
libstartup-notification0-dev
|
||||||
|
libwayland-client0
|
||||||
libxcb-ewmh-dev
|
libxcb-ewmh-dev
|
||||||
libxcb-cursor-dev
|
libxcb-cursor-dev
|
||||||
libxcb-icccm4-dev
|
libxcb-icccm4-dev
|
||||||
@ -43,11 +44,7 @@ MLOG="install-$(date +%d-%H%M%S)_rofi_wayland2.log"
|
|||||||
|
|
||||||
# uninstall other rofi
|
# uninstall other rofi
|
||||||
for PKG in "rofi" "bison"; do
|
for PKG in "rofi" "bison"; do
|
||||||
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
uninstall_package "$PKG" "$LOG"
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo -e "\e[1A\e[K${ERROR} - $PKG uninstallation had failed, please check the log"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -56,7 +53,7 @@ printf "\n%.0s" {1..2}
|
|||||||
printf "\n%s - Installing ${SKY_BLUE}rofi-wayland dependencies${RESET}.... \n" "${INFO}"
|
printf "\n%s - Installing ${SKY_BLUE}rofi-wayland dependencies${RESET}.... \n" "${INFO}"
|
||||||
|
|
||||||
for FORCE in "${rofi[@]}"; do
|
for FORCE in "${rofi[@]}"; do
|
||||||
sudo apt-get --reinstall install -y "$FORCE" 2>&1 | tee -a "$LOG"
|
re_install_package "$FORCE" 2>&1 | tee -a "$LOG"
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user