mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
update on readme and install script
This commit is contained in:
parent
bedb65a39e
commit
d349572d3d
@ -3,7 +3,11 @@
|
|||||||
|
|
||||||
### ⚠️ Pre-requisites:
|
### ⚠️ Pre-requisites:
|
||||||
- Needs a Debian 12 Testing (Trixie) Branch as it needs a newer wayland packages! I have tried on Stable Debian 12 Bookworm in which, Hyprland wont build
|
- Needs a Debian 12 Testing (Trixie) Branch as it needs a newer wayland packages! I have tried on Stable Debian 12 Bookworm in which, Hyprland wont build
|
||||||
- if you have manually installed Debian, make sure that "deb-src's" are enabled in your /etc/apt/sources.list. By default, it will enable the first line with deb-src
|
- edit your /etc/apt/sources.list and remove # and enable atleast one 'deb-src' else will not install properly.
|
||||||
|
```bash
|
||||||
|
sudo nano /etc/apt/sources.list
|
||||||
|
```
|
||||||
|
- delete # on first line with 'deb-src' atleast
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
17
install.sh
17
install.sh
@ -25,6 +25,13 @@ if [ "$proceed" != "y" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
read -p "$(tput setaf 6)Have you edited your /etc/apt/sources.list? (y/n): $(tput sgr0)" proceed2
|
||||||
|
|
||||||
|
if [ "$proceed2" != "n" ]; then
|
||||||
|
echo "Installation aborted Kindly edit your sources.list first. Refer to readme."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Set some colors for output messages
|
# Set some colors for output messages
|
||||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||||
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
|
||||||
@ -132,16 +139,6 @@ printf "\n"
|
|||||||
# Ensuring all in the scripts folder are made executable
|
# Ensuring all in the scripts folder are made executable
|
||||||
chmod +x install-scripts/*
|
chmod +x install-scripts/*
|
||||||
|
|
||||||
# enabling deb-src in /etc/apt/sources.list
|
|
||||||
# Path to the sources.list file
|
|
||||||
sources_list="/etc/apt/sources.list"
|
|
||||||
|
|
||||||
# Remove the '#' from lines starting with '#deb-src'
|
|
||||||
sudo awk '/^#deb-src/ {sub(/^#/, "", $0)} {print}' "$sources_list" > "$sources_list.tmp" && sudo mv "$sources_list.tmp" "$sources_list"
|
|
||||||
|
|
||||||
# Remove the '#' from lines starting with '#deb'
|
|
||||||
sudo awk '/^#deb/ {sub(/^#/, "", $0)} {print}' "$sources_list" > "$sources_list.tmp" && sudo mv "$sources_list.tmp" "$sources_list"
|
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
||||||
# Install hyprland packages
|
# Install hyprland packages
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user