diff options
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 |