mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
created a utils directory
This commit is contained in:
14
utils/assemble.sh
Normal file
14
utils/assemble.sh
Normal 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
|
||||
Reference in New Issue
Block a user