Removed if statement

This commit is contained in:
Dimitris Zlatanidis 2023-03-13 20:22:05 +02:00
parent 8ce3fb5fd9
commit 3a4797a103

View file

@ -158,7 +158,6 @@ class Slackbuilds(Configs):
path_ponce_repo_package = Path(self.ponce_repo_path, location, sbo) path_ponce_repo_package = Path(self.ponce_repo_path, location, sbo)
path_build_package = Path(self.build_path, 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}') shutil.copytree(path_ponce_repo_package, f'{self.build_path}{sbo}')
slackbuild = Path(path_build_package, f'{sbo}.SlackBuild') slackbuild = Path(path_build_package, f'{sbo}.SlackBuild')
os.chmod(slackbuild, 0o775) os.chmod(slackbuild, 0o775)