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

13 lines
173 B
Bash
Raw Permalink Normal View History

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