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()