From 027c36885324f12284c1f865404f432d97f22306 Mon Sep 17 00:00:00 2001 From: Spiros Georgaras Date: Fri, 26 May 2023 15:43:02 +0300 Subject: [PATCH] Update install.py Fixing installation script for non-pipx installations --- pyradio/install.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyradio/install.py b/pyradio/install.py index 6dafcc0e..5d73c041 100755 --- a/pyradio/install.py +++ b/pyradio/install.py @@ -1324,7 +1324,7 @@ def _do_it(self, mode='update'): parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS) parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS) parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS) - parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS) + parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS) if HAS_PIPX: parser.add_argument('-gc', '--get-cache', action='store_true', help='Download source code, keep it in the cache and exit.') @@ -1333,7 +1333,10 @@ def _do_it(self, mode='update'): parser.add_argument('--python2', action='store_true', help='Install using python 2.') else: - parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS) + parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS) + parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS) + parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS) + parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS) parser.add_argument('--python2', action='store_true', help=SUPPRESS) parser.add_argument('-R', '--uninstall', action='store_true', help='Uninstall PyRadio.')