diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-22 20:16:01 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-22 20:16:01 +0100 |
commit | f6477766b75e401d211944519ea11d4ad4fc9f61 (patch) | |
tree | 74f6cabb9914bb7c9d922f7c82e9a86291f905c1 /auto-void-packages/update-git-repo.sh | |
parent | aaf413cc544a9b8ae11923f8718ae487a86ffe16 (diff) |
Simplify scripts and improve clarity
- Removed redundant variables in `update-git-repo.sh`.
- Simplified `update-scripts-repo.sh` by removing unnecessary `git diff` output.
Diffstat (limited to 'auto-void-packages/update-git-repo.sh')
-rwxr-xr-x | auto-void-packages/update-git-repo.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/auto-void-packages/update-git-repo.sh b/auto-void-packages/update-git-repo.sh index e71701c..9533bc9 100755 --- a/auto-void-packages/update-git-repo.sh +++ b/auto-void-packages/update-git-repo.sh @@ -5,19 +5,15 @@ echo_n_notify(){ } pushd "$HOME/workbench/void-packages" || exit 1 -CHECKOUT="checkout" -FETCH="fetch" -MERGE="merge" -PUSH="push" git checkout master && \ - echo_n_notify "$CHECKOUT: ok" && \ + echo_n_notify "checkout: ok" && \ git fetch upstream && \ - echo_n_notify "$FETCH: ok" && \ + echo_n_notify "fetch: ok" && \ git merge upstream/master && \ - echo_n_notify "$MERGE: ok" && \ + echo_n_notify "merge: ok" && \ git push && \ - echo_n_notify "$PUSH: ok" + echo_n_notify "push: ok" ./xbps-src bootstrap-update |