mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2026-02-05 01:30:13 +01:00
Fixed syntax error
On branch hl-051 Your branch is up to date with 'origin/hl-051'. Changes to be committed: modified: install.sh
This commit is contained in:
parent
d298480443
commit
307a0c641f
@ -22,7 +22,7 @@ RESET="$(tput sgr0)"
|
|||||||
# Function to print colorful text
|
# Function to print colorful text
|
||||||
print_color() {
|
print_color() {
|
||||||
printf "%b%s%b\n" "$1" "$2" "$RESET"
|
printf "%b%s%b\n" "$1" "$2" "$RESET"
|
||||||
l
|
}
|
||||||
|
|
||||||
# Warning: End of Life Support
|
# Warning: End of Life Support
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -59,7 +59,6 @@ print_color $YELLOW "
|
|||||||
"
|
"
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
|
||||||
# Prompt user to continue or exit
|
# Prompt user to continue or exit
|
||||||
read -rp "Do you want to continue with the installation? [y/N]: " confirm
|
read -rp "Do you want to continue with the installation? [y/N]: " confirm
|
||||||
case "$confirm" in
|
case "$confirm" in
|
||||||
@ -109,7 +108,6 @@ if ! command -v whiptail >/dev/null; then
|
|||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
echo -e "\e[35m
|
echo -e "\e[35m
|
||||||
╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐
|
╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐
|
||||||
@ -146,7 +144,6 @@ if ! dpkg -l | grep -w pciutils > /dev/null; then
|
|||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Path to the install-scripts directory
|
# Path to the install-scripts directory
|
||||||
script_directory=install-scripts
|
script_directory=install-scripts
|
||||||
|
|
||||||
@ -171,7 +168,7 @@ if [ -f "./hypr-tags.env" ]; then
|
|||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "./hypr-tags.env"
|
source "./hypr-tags.env"
|
||||||
# If core tags are set to auto/latest, refresh to resolve concrete versions
|
# If core tags are set to auto/latest, refresh to resolve concrete versions
|
||||||
if [ "${HYPRUTILS_TAG:-}" = "auto" ] || [ "${HYPRUTILS_TAG:-}" = "latest" ] || [ -z "${HYPRUTILS_TAG:-}" ] || \
|
if [ "${HYPRUTILS_TAG:-}" = "auto" ] || [ "${HYPRUTILS_TAG:-}" = "latest" ] || [ -z "${HYPRUTILS_TAG:-}" ] ||
|
||||||
[ "${HYPRLANG_TAG:-}" = "auto" ] || [ "${HYPRLANG_TAG:-}" = "latest" ] || [ -z "${HYPRLANG_TAG:-}" ]; then
|
[ "${HYPRLANG_TAG:-}" = "auto" ] || [ "${HYPRLANG_TAG:-}" = "latest" ] || [ -z "${HYPRLANG_TAG:-}" ]; then
|
||||||
if [ -f ./refresh-hypr-tags.sh ]; then
|
if [ -f ./refresh-hypr-tags.sh ]; then
|
||||||
chmod +x ./refresh-hypr-tags.sh || true
|
chmod +x ./refresh-hypr-tags.sh || true
|
||||||
@ -513,7 +510,6 @@ for file in "${files_to_delete[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
# copy fastfetch config if debian is not present
|
# copy fastfetch config if debian is not present
|
||||||
@ -570,4 +566,3 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user