Skip to content

Commit

Permalink
New arg ./install.py script
Browse files Browse the repository at this point in the history
 New Features:
- An argument to select a different architecture is added.
  • Loading branch information
TheWatcherMultiversal authored Nov 4, 2023
1 parent 0ad4617 commit 7bea197
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def uninstall_targz(package : str, paths : list):
# |
# °-- Install pdfgui_tools:
if (args.all or args.uninstall or args.remove_all) is False:
install_targz(package_pdfgui ,url_package_pdfgui, paths_pdfgui)
install_targz(package_pdfgui ,url_package_pdfgui, paths_pdfgui); sys.exit()

if args.all : install_targz (package_poppler, url_package_poppler, paths_poppler)
elif args.uninstall : uninstall_targz(package_pdfgui, paths_pdfgui)
elif args.remove_all : uninstall_targz(package_pdfgui, paths_pdfgui); uninstall_targz(package_poppler, paths_poppler)
if args.all : install_targz (package_poppler, url_package_poppler, paths_poppler); sys.exit()
elif args.uninstall : uninstall_targz(package_pdfgui, paths_pdfgui); sys.exit()
elif args.remove_all : uninstall_targz(package_pdfgui, paths_pdfgui); uninstall_targz(package_poppler, paths_poppler); sys.exit()

0 comments on commit 7bea197

Please sign in to comment.