summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-10-26 22:23:31 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-10-26 22:23:31 +0400
commitcb78290f31886fb1f9a5e7c2a764dda55a459e50 (patch)
tree72a2df0645405658d8590d4b8d7d87f1e099f596 /build.sh
parentf8d1bfbd0f27e0763cf75fcda58d010e346515ab (diff)
chore: split script installation into CLI and GUI sections
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index ad2439c..bdc7dbe 100644
--- a/build.sh
+++ b/build.sh
@@ -101,9 +101,16 @@ install_shell() {
LINK "${CONFDIR}"/shell/profile "${ZPROFILE}"
}
-install_scripts() {
- mkdir -p "${BINDIR}"
- COPY scripts/* "${BINDIR}"
+install_script_lib() { COPY scripts/slib "${BINDIR}"; }
+
+install_cli_scripts() {
+ install_script_lib
+ COPY scripts/cli/* "${BINDIR}"
+}
+
+install_gui_scripts() {
+ install_script_lib
+ COPY scripts/gui/* "${BINDIR}"
}
install_liberationmono() { pkg "LiberationMono" sync unpack font_install; }