mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Removed if statement
This commit is contained in:
parent
8ce3fb5fd9
commit
3a4797a103
1 changed files with 3 additions and 4 deletions
|
@ -158,10 +158,9 @@ class Slackbuilds(Configs):
|
|||
path_ponce_repo_package = Path(self.ponce_repo_path, location, sbo)
|
||||
path_build_package = Path(self.build_path, sbo)
|
||||
|
||||
if path_ponce_repo_package.is_dir():
|
||||
shutil.copytree(path_ponce_repo_package, f'{self.build_path}{sbo}')
|
||||
slackbuild = Path(path_build_package, f'{sbo}.SlackBuild')
|
||||
os.chmod(slackbuild, 0o775)
|
||||
shutil.copytree(path_ponce_repo_package, f'{self.build_path}{sbo}')
|
||||
slackbuild = Path(path_build_package, f'{sbo}.SlackBuild')
|
||||
os.chmod(slackbuild, 0o775)
|
||||
|
||||
else:
|
||||
self.utils.remove_file_if_exists(self.build_path, file)
|
||||
|
|
Loading…
Reference in a new issue