live-iso-kde/chroot_scripts/5-run-hooks.sh
Ward from fusion-voyager-3 e7873de2d6 Fix chroot_scripts_path
2024-08-01 16:56:33 +03:00

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