summaryrefslogtreecommitdiff
path: root/xib_env
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-11 00:51:12 +0000
committerdavidovski <david@davidovski.xyz>2022-02-11 00:51:12 +0000
commit27417e5694039039d67db65e8d0ad3f07d1a123a (patch)
tree6a16ca5f08256b18f2512bfa50f3e2a27861e48d /xib_env
parentb2b62c9d72bfec35d19216df228cac203f77ba21 (diff)
reformatted and decorated
Diffstat (limited to 'xib_env')
-rwxr-xr-xxib_env10
1 files changed, 9 insertions, 1 deletions
diff --git a/xib_env b/xib_env
index 50b6140..60d09ef 100755
--- a/xib_env
+++ b/xib_env
@@ -1,5 +1,11 @@
#!/bin/sh
+export CHECKMARK="✔"
+export CROSSMARK="✘"
+export TABCHAR="╰┈➤ "
+export INFOCHAR=" ~ "
+
+
export MAKEFLAGS="-j$(grep "processor" /proc/cpuinfo | wc -l)"
export XIB_DIR="/var/lib/xib"
@@ -12,6 +18,7 @@ export PUB_KEY="/home/david/.ssh/xi.pub"
export DEVELOPMENT_BUILDFILES="/home/david/docs/proj/xilinux/buildfiles"
export BUILDFILES_GIT_REPO="https://xi.davidovski.xyz/git/buildfiles.git"
+export INSTALLED_PACKAGES="$XIB_CHROOT/installed"
mkdir -p $XIB_DIR $XIB_BUILDFILES $XIB_CHROOT $XIB_EXPORT
@@ -27,5 +34,6 @@ else
fi
fi
+[ -f $INSTALLED_PACKAGES ] || touch $INSTALLED_PACKAGES
-cp /etc/resolv.conf $XIB_CHROOT/etc/resolv.conf
+[ -f $XIB_CHROOT/etc/resolv.conf ] || cp /etc/resolv.conf $XIB_CHROOT/etc/resolv.conf