diff options
author | davidovski <david@davidovski.xyz> | 2022-02-11 00:51:12 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-11 00:51:12 +0000 |
commit | 27417e5694039039d67db65e8d0ad3f07d1a123a (patch) | |
tree | 6a16ca5f08256b18f2512bfa50f3e2a27861e48d /xib_env | |
parent | b2b62c9d72bfec35d19216df228cac203f77ba21 (diff) |
reformatted and decorated
Diffstat (limited to 'xib_env')
-rwxr-xr-x | xib_env | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |