summaryrefslogtreecommitdiff
path: root/xib_env
diff options
context:
space:
mode:
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