🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 1h12m40s

rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/06-post.sh
This commit is contained in:
casjay
2024-10-12 18:45:51 -04:00
parent 67ba964106
commit 59475126f6
3 changed files with 12 additions and 13 deletions

View File

@@ -24,10 +24,15 @@ set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set env variables
exitCode=0
update_conf_files="$(find '/etc' -iname '*.pacnew')"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script
if [ -n "$update_conf_files" ]; then
for conf in $update_conf_files; do
name="${conf//.pacnew/}"
mv -f "$conf" "$name"
done
fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set the exit code
exitCode=$?