13 lines
173 B
Bash
Executable File
13 lines
173 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
export DEBIAN_FRONTEND="noninteractive"
|
|
|
|
export ORIGINAL_WORKINGDIR=$(pwd)
|
|
|
|
for hook in /chroot_scripts/hooks/*
|
|
do
|
|
$hook
|
|
cd $ORIGINAL_WORKINGDIR
|
|
done |