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

13 lines
173 B
Bash
Raw Permalink Normal View History

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