dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit 3c410e307fbb66d10868a25ab2273b74f9f3b1bb
parent 56dcd0d483fbf9ba5c1e2578c7d3b3ae6a6dad3f
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  1 May 2017 23:43:23 +0000

.bin/emacs-build: Only debootstrap if need to.

Diffstat:
.bin/emacs-build | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.bin/emacs-build b/.bin/emacs-build @@ -18,7 +18,8 @@ TERMINFO_BIND=$TERMINFO_SRC'/root/.terminfo/r/rxvt-256color' if [ "$1" = "bootstrap" ]; then echo 'debootstraping' mkdir -p $CONTAINER_DIR - sudo debootstrap --arch=amd64 testing $CONTAINER + [ ! -d $CONTAINER ] && + sudo debootstrap --arch=amd64 testing $CONTAINER echo 'starting container' sudo systemd-nspawn -D $CONTAINER \ --bind-ro=$SCRIPT:/root/$SCRIPT \