Created Update Addons Script

Created script to copy over addons from the submodules folder, to the
addons folder.
This commit is contained in:
Mario Steele 2026-03-06 22:42:37 -06:00
parent 85ba302fe0
commit 3186e514e6

14
submodules/update_addons.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
for dir in "$SCRIPT_DIR"/*; do
if [ -d "$dir" ]; then
echo Found $dir.
if [ -d "$dir/addons" ]; then
rsync -av $dir/addons $SCRIPT_DIR/../
fi
fi
done
echo "Submodule addons updated."