mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2026-02-05 01:30:13 +01:00
Fixing update-hyprland (again) to use env-tags
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: update-hyprland.sh
This commit is contained in:
parent
178285a759
commit
370f7de9e4
@ -55,6 +55,7 @@ FETCH_LATEST=0
|
|||||||
RESTORE=0
|
RESTORE=0
|
||||||
VIA_HELPER=0
|
VIA_HELPER=0
|
||||||
NO_FETCH=0
|
NO_FETCH=0
|
||||||
|
USE_SYSTEM_LIBS=1
|
||||||
ONLY_LIST=""
|
ONLY_LIST=""
|
||||||
SKIP_LIST=""
|
SKIP_LIST=""
|
||||||
SET_ARGS=()
|
SET_ARGS=()
|
||||||
@ -220,6 +221,18 @@ run_stack() {
|
|||||||
fi
|
fi
|
||||||
done < "$TAGS_FILE"
|
done < "$TAGS_FILE"
|
||||||
|
|
||||||
|
# Ensure toolchain paths prefer /usr/local for pkg-config and cmake finds
|
||||||
|
export PATH="/usr/local/bin:${PATH}"
|
||||||
|
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:${PKG_CONFIG_PATH:-}"
|
||||||
|
export CMAKE_PREFIX_PATH="/usr/local:${CMAKE_PREFIX_PATH:-}"
|
||||||
|
|
||||||
|
# Propagate system/bundled selection to hyprland.sh
|
||||||
|
if [[ $USE_SYSTEM_LIBS -eq 1 ]]; then
|
||||||
|
export USE_SYSTEM_HYPRLIBS=1
|
||||||
|
else
|
||||||
|
export USE_SYSTEM_HYPRLIBS=0
|
||||||
|
fi
|
||||||
|
|
||||||
# Optionally install dependencies (not dry-run)
|
# Optionally install dependencies (not dry-run)
|
||||||
if [[ $WITH_DEPS -eq 1 ]]; then
|
if [[ $WITH_DEPS -eq 1 ]]; then
|
||||||
echo "[INFO] Installing dependencies via 00-dependencies.sh" | tee -a "$SUMMARY_LOG"
|
echo "[INFO] Installing dependencies via 00-dependencies.sh" | tee -a "$SUMMARY_LOG"
|
||||||
@ -462,6 +475,14 @@ while [[ $# -gt 0 ]]; do
|
|||||||
ONLY_LIST=${2:-}
|
ONLY_LIST=${2:-}
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
|
--bundled)
|
||||||
|
USE_SYSTEM_LIBS=0
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--system)
|
||||||
|
USE_SYSTEM_LIBS=1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
--skip)
|
--skip)
|
||||||
SKIP_LIST=${2:-}
|
SKIP_LIST=${2:-}
|
||||||
shift 2
|
shift 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user