Skip to content

Commit 76200f6

Browse files
Merge pull request #29 from felipealfonsog/development
Updates in the code for AUR and others
2 parents e130f2e + 738baa1 commit 76200f6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/aur-dev/git_updater.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ def main():
2727
return
2828
main_directory = input(f"Current directory is: {current_directory}\nDo you want to update repositories here? (Press Enter for No, Y for Yes default is No): ")
2929
if main_directory.lower() != 'y':
30-
print("You need to be inside a directory with GitHub repositories to update them.")
31-
return
30+
abort_choice = input("Do you want to abort the process? (Press Enter for No, Y for Yes default is No): ").lower()
31+
if abort_choice == 'y':
32+
print("Operation aborted.")
33+
return
34+
else:
35+
print("You need to be inside a directory with GitHub repositories to update them.")
36+
return
3237
exclude_choice = input("Do you want to exclude directories with the '-aur' suffix? (Press Enter for Yes, N for No, default is Yes): ").lower()
3338
if exclude_choice == '' or exclude_choice == 'y':
3439
include_aur = False

src/aur-pkg/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mantenedor: Felipe Alfonso Gonzalez <[email protected]>
22
pkgname=gitsync
3-
pkgver=0.0.10
3+
pkgver=0.0.11
44
pkgrel=1
55
pkgdesc="GitSyncMaster: Automate updating multiple Git repositories within a directory structure effortlessly."
66
arch=('x86_64')

0 commit comments

Comments
 (0)