Introduce OS_GROUP_ID

This commit is contained in:
clsty
2025-11-10 10:38:14 +08:00
parent 051accbe2f
commit 98d2c4f881
7 changed files with 155 additions and 146 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ case $SKIP_HYPRLAND in
true) sleep 0;;
*)
warning_rsync_delete; v rsync -av --delete "${arg_excludes[@]}" dots/.config/hypr/ "$XDG_CONFIG_HOME"/hypr/
if [ "$OS_DISTRO_ID" = "fedora" ];then
if [ "$OS_GROUP_ID" = "fedora" ];then
v rsync -av "${REPO_ROOT}/dots-extra/fedora/hypr/hyprland/execs.conf" "$XDG_CONFIG_HOME/hypr/hyprland/execs.conf"
fi
# When hypr/custom does not exist, we assume that it's the firstrun.