live-iso-kde/chroot_scripts/5-run-hooks.sh
Ward from fusion-voyager-3 80f4eeebe5 chroot attempt 0
2024-08-01 15:23:17 +03:00

13 lines
177 B
Bash
Executable File

#! /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