From 27417e5694039039d67db65e8d0ad3f07d1a123a Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 11 Feb 2022 00:51:12 +0000 Subject: reformatted and decorated --- xib_env | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'xib_env') 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 -- cgit v1.2.1