aboutsummaryrefslogtreecommitdiffstats
path: root/Distro-Hyprland.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-03-10 00:30:19 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-03-10 00:30:19 +0900
commit76a3903bb29294f86acdf1f40995d9e4471ce07f (patch)
treefb246e1e1f2b912a22852c11bd505467207885a4 /Distro-Hyprland.sh
parent8fb7cccc56aef190a165d3998b06e0d8824f0b87 (diff)
some changes
Diffstat (limited to 'Distro-Hyprland.sh')
-rwxr-xr-xDistro-Hyprland.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/Distro-Hyprland.sh b/Distro-Hyprland.sh
index 0be7c4f6..ff0bae03 100755
--- a/Distro-Hyprland.sh
+++ b/Distro-Hyprland.sh
@@ -30,14 +30,14 @@ else
fi
# Define package managers, Git install commands, and dynamic variables for each distro
-if [ "$distro_name" == "Debian GNU/Linux" ]; then
+if [ "$distro_name" = "Debian GNU/Linux" ]; then
PACKAGE_MANAGER="apt"
INSTALL_CMD="sudo apt install -y"
GIT_INSTALL_CMD="sudo apt install -y git"
Distro="Debian-Hyprland"
Github_URL="https://github.com/JaKooLit/$Distro.git"
Distro_DIR="$HOME/$Distro"
-elif [ "$distro_name" == "Ubuntu" ]; then
+elif [ "$distro_name" = "Ubuntu" ]; then
PACKAGE_MANAGER="apt"
INSTALL_CMD="sudo apt install -y"
GIT_INSTALL_CMD="sudo apt install -y git"
@@ -92,7 +92,7 @@ elif command -v zypper &> /dev/null; then
Distro="OpenSUSE-Hyprland"
Github_URL="https://github.com/JaKooLit/$Distro.git"
Distro_DIR="$HOME/$Distro"
-elif [ "$distro_name" == "NixOS" ]; then
+elif [ "$distro_name" = "NixOS" ]; then
PACKAGE_MANAGER="nix"
INSTALL_CMD="nix-shell"
GIT_INSTALL_CMD="nix-shell -p git curl pciutils"
@@ -124,7 +124,7 @@ else
echo "${MAGENTA}$Distro_DIR does not exist. Cloning the repository...${RESET}"
# Clone the specific branch for Ubuntu versions only
- if [ "$distro_name" == "Ubuntu" ]; then
+ if [ "$distro_name" = "Ubuntu" ]; then
echo "${INFO} Cloning from branch ${Github_URL_branch} for Ubuntu $distro_version."
git clone --depth=1 -b "$Github_URL_branch" "$Github_URL" "$Distro_DIR"
else
@@ -134,4 +134,4 @@ else
cd "$Distro_DIR"
chmod +x install.sh
./install.sh
-fi \ No newline at end of file
+fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage