dotfiles

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

commit d4a0d5b69fd37cc2325928bbfa22725a07f6c883
parent 4c3fd2f0cad66ca862e2ee68c4544c6b2a047d5a
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat,  9 Dec 2017 13:04:15 +0000

.bin: Remove mdl-style-container.

Diffstat:
.bin/mdl-style-container | 30------------------------------
1 file changed, 0 insertions(+), 30 deletions(-)

diff --git a/.bin/mdl-style-container b/.bin/mdl-style-container @@ -1,30 +0,0 @@ -#!/bin/sh - -PWD=`pwd` -CONTAINER_DIR=$HOME'/.containers' -CONTAINER_NAME='mdl-style' -CONTAINER=$CONTAINER_DIR'/'$CONTAINER_NAME -SCRIPT=`basename "$0"` - -TERMINFO_SRC='/usr/share/terminfo/r/rxvt-256color:' -TERMINFO_BIND=$TERMINFO_SRC'/root/.terminfo/r/rxvt-256color' - -if [ "$1" = "bootstrap" ]; then - echo 'debootstrap' - sudo debootstrap --arch=amd64 testing $CONTAINER - sudo systemd-nspawn -D ./$CONTAINER \ - --bind-ro=$PWD/$SCRIPT:/root/$SCRIPT \ - /root/$SCRIPT install -elif [ "$1" = "install" ]; then - # this is run inside the container - apt-get update -elif [ "$1" = "start" ]; then - # start slack inside the container - sudo systemd-nspawn --setenv=DISPLAY=:0.0 \ - -D ./$CONTAINER \ - --bind-ro=$TERMINFO_BIND -else - echo 'Dunno what to do' - exit 1 -fi -