diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-18 12:35:25 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-18 12:35:25 +0900 |
| commit | 3df33e1a679c6331e608ca4ca2036f5d9e96ef25 (patch) | |
| tree | fb0445f63d254bfd83dcdf0677c8c58e61c7658b | |
| parent | e3413db365beda010aa72a5d86e30995aeedab44 (diff) | |
updated copy.sh
| -rwxr-xr-x | copy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ print_color() { } # Check /etc/os-release to see if this is an Ubuntu or Debian based distro -if grep -q '^\(ID_LIKE\|ID\)=.*\(debian\|ubuntu\)' /etc/os-release &> /dev/null; then +if grep -iq '^\(ID_LIKE\|ID\)=.*\(debian\|ubuntu\)' /etc/os-release >/dev/null 2>&1; then printf "\n%.0s" {1..1} print_color $WARNING " █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ @@ -115,7 +115,7 @@ if hostnamectl | grep -q 'Operating System: NixOS'; then fi # Check if dpkg is installed (use to check if Debian or Ubuntu or based distros -if command -v dpkg &> /dev/null; then +if grep -iq '^\(ID_LIKE\|ID\)=.*\(debian\|ubuntu\)' /etc/os-release >/dev/null 2>&1; then echo "${INFO} Debian/Ubuntu based distro. Disabling pyprland since it does not work properly" 2>&1 | tee -a "$LOG" || true # disabling pyprland as causing issues sed -i '/^exec-once = pypr &/ s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf |
