mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
17 lines
362 B
Bash
Executable file
17 lines
362 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# This script assumes a linux environment
|
|
|
|
set -e
|
|
|
|
echo "*** Update submodules"
|
|
|
|
git submodule update --remote
|
|
if [ `git diff --quiet ./submodules/` ]; then
|
|
git add -u submodules/
|
|
git commit -m 'Update submodules'
|
|
git push origin master
|
|
echo "*** Submodules updated"
|
|
else
|
|
echo "*** Submodules are already up to date"
|
|
fi
|