mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
removed debugging stuff
This commit is contained in:
parent
38aa15457d
commit
45a5d18245
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ if ! git fetch; then
|
|||
fi
|
||||
|
||||
# Check if there are any changes
|
||||
if [[ ! $(git rev-list HEAD...origin/$current_branch --count) -eq 0 ]]; then
|
||||
if [[ $(git rev-list HEAD...origin/$current_branch --count) -eq 0 ]]; then
|
||||
echo "Repository is already up-to-date. Do not run git pull before this script. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
|
@ -158,7 +158,7 @@ else
|
|||
fi
|
||||
|
||||
# Then update the repository
|
||||
if ! git pull; then
|
||||
if git pull; then
|
||||
echo "Git pull successful."
|
||||
else
|
||||
# If the pull failed, clone the repository to a temporary folder and copy the files from there
|
||||
|
|
|
|||
Loading…
Reference in a new issue