-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from felipealfonsog/development
Development
- Loading branch information
Showing
3 changed files
with
4 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ def print_welcome_message(): | |
Welcome to the Upd8All Updater ⚙ | ||
======================================= | ||
Description: Upd8All is a versatile and comprehensive package update tool meticulously | ||
crafted to cater to the needs of Arch Linux users. No more worried about sudo, and continuous | ||
crafted to cater to the needs of Arch Linux users. No more worries about sudo, and continuous | ||
updating of the system with pacman, yay, and brew. | ||
------------------------------------------------------------------------------------- | ||
Creator/Engineer: Felipe Alfonso Gonzalez - github.com/felipealfonsog - [email protected] | ||
|
@@ -122,7 +122,7 @@ def main(): | |
print() # Add a newline after entering the password | ||
|
||
# Ask if the user wants to check a package version at the end | ||
response = input("Do you want to check the version of a package at the end? (yes/no): ").strip().lower() | ||
response = input("Do you want to check the version of a package at the end? (yes/no) [no]: ").strip().lower() or "no" | ||
check_package_at_end = response == 'yes' | ||
|
||
# Update packages | ||
|
@@ -170,7 +170,8 @@ def main(): | |
package = input("Enter the name of the package to check its version (e.g., gh): ").strip().lower() | ||
check_package_version(package, package_manager) | ||
|
||
print("Processes completed.") | ||
else: | ||
print("Processes completed.") | ||
|
||
if __name__ == "__main__": | ||
main() |