#!/bin/sh


### define path to the repository on your disk

### PATH=
# MOUNTPOINT=/mnt
# DEVICE=/dev/sdb1
# REPOPATH=kali-linux/var/cache/apt-cacher-ng/

###  download and install needed packages
# apt-get update
# apt-get install git cdebootstrap live-build live-config apt-cacher-ng console-data curl -y

### execute any commands to fit your personal environment
loadkeys de

### prepare youre proxy and make sure, your local repo has ownership "apt-cacher-ng:apt-cacher-ng"
# cp acng.conf /etc/apt-cacher-ng/
# chown -R apt-cacher-ng:apt-cacher-ng $MOUNTPOINT/$REPOPATH

### updating the git branch
git pull origin main

### This is a test szenario, execite other scripts as needed
### This suggestion calls my very own script.
# ./uit-build-i386.sh

