From cbfa9c2aba032c6a8b3d64f6a0acae3f6b41948a Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 31 Mar 2023 21:20:55 +0300 Subject: [PATCH] Fixed location --- slpkg/install_data.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/slpkg/install_data.py b/slpkg/install_data.py index fc75528d..8a55cfca 100644 --- a/slpkg/install_data.py +++ b/slpkg/install_data.py @@ -134,7 +134,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (.) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -224,7 +224,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -310,7 +310,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -570,7 +570,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -747,7 +747,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -847,7 +847,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip() @@ -946,7 +946,7 @@ class InstallData(Configs): if line.startswith(pkg_tag[1]): package_location = line.replace(pkg_tag[1], '').strip() - cache.append(package_location[1:]) # Do not install (.) dot + cache.append(package_location[2:]) # Do not install (./) dot if line.startswith(pkg_tag[2]): package_size_comp = line.replace(pkg_tag[2], '').strip()