live-iso-gnome/chroot_scripts/5-run-hooks.sh

13 lines
177 B
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
export ORIGINAL_WORKINGDIR=$(pwd)
for hook in /etc/chroot_scripts/hooks/*
do
$hook
cd $ORIGINAL_WORKINGDIR
done