Compare commits
No commits in common. "4842ca9eb7ab7f6f41a027f4054280319933c712" and "8e59d066dc41da8eeef632f38aa41dd2e9d05a1a" have entirely different histories.
4842ca9eb7
...
8e59d066dc
5 changed files with 4 additions and 7 deletions
0
bin/updateall
Executable file → Normal file
0
bin/updateall
Executable file → Normal file
0
share/updateall/commands.d/apt
Executable file → Normal file
0
share/updateall/commands.d/apt
Executable file → Normal file
0
share/updateall/commands.d/docker
Executable file → Normal file
0
share/updateall/commands.d/docker
Executable file → Normal file
11
share/updateall/commands.d/git
Executable file → Normal file
11
share/updateall/commands.d/git
Executable file → Normal file
|
@ -1,13 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if cd "${1:-~/Git}"; then
|
if pushd ~/Git; then
|
||||||
for repo in *; do
|
for repo in *; do
|
||||||
cd "$repo"
|
pushd "$repo"
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
popd
|
||||||
done
|
done
|
||||||
elif [ -z "$1" ]; then
|
popd
|
||||||
exec "$0" ~/git
|
|
||||||
else
|
|
||||||
>&2 echo "Can't find your git folder!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
0
share/updateall/commands.d/yay
Executable file → Normal file
0
share/updateall/commands.d/yay
Executable file → Normal file
Loading…
Reference in a new issue