Merge pull request #540 from scriptingosx/assemble-script-update

updated assemble.sh to update Labels.txt when script is built
This commit is contained in:
Armin Briegel
2022-06-22 15:05:50 +02:00
committed by GitHub

View File

@@ -127,6 +127,8 @@ if [[ $buildScript -eq 1 ]]; then
echo "# copying script to $repo_dir/Installomator.sh" echo "# copying script to $repo_dir/Installomator.sh"
cp $destination_file $repo_dir/Installomator.sh cp $destination_file $repo_dir/Installomator.sh
chmod 755 $repo_dir/Installomator.sh chmod 755 $repo_dir/Installomator.sh
# also update Labels.txt
$repo_dir/Installomator.sh | tail -n +2 > $repo_dir/Labels.txt
fi fi
# build a pkg when flag is set # build a pkg when flag is set