created a utils directory

This commit is contained in:
Armin Briegel
2021-04-21 11:30:58 +02:00
parent 448a11a1b6
commit 8ffc4dd88b
4 changed files with 1 additions and 0 deletions

14
utils/assemble.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/zsh
destination_file="Installomator_assembled.sh"
fragments_dir="fragments"
labels_dir="$fragments_dir/labels"
# read the header
cat "$fragments_dir/header.txt" > $destination_file
# all the labels
cat "$labels_dir"/*.txt >> $destination_file
# add the footer
cat "$fragments_dir/footer.txt" >> $destination_file