diff --git a/cleaner/clean b/cleaner/clean index 77eea3d..7c3dcbe 100755 --- a/cleaner/clean +++ b/cleaner/clean @@ -1,5 +1,5 @@ #!/bin/bash -rm -rf /home/bio/Packages/BioArchLinux/*/src -python /home/bio/Packages/BioArchLinux_CLEANER/lilac-cleaner -f -python /home/bio/Packages/BioArchLinux_CLEANER/repocleaner -chown -R bio:pkg /home/bio/Packages/BioArchLinux/* +rm -rf /usr/share/lilac/Packages/BioArchLinux/*/src +python /usr/share/lilac/Tools/cleaner/lilac-cleaner -f +python /usr/share/lilac/Tools/cleaner/repocleaner +chown -R bio:pkg /usr/share/lilac/Packages/BioArchLinux/* diff --git a/cleaner/lilac-cleaner b/cleaner/lilac-cleaner index 0df9aba..33aca04 100755 --- a/cleaner/lilac-cleaner +++ b/cleaner/lilac-cleaner @@ -11,7 +11,7 @@ import sys import time # repodir = pathlib.Path('/ldata/src/archgitrepo/archlinuxcn').expanduser() -repodir = pathlib.Path('/home/bio/Packages/BioArchLinux').expanduser() +repodir = pathlib.Path('/usr/share/lilac/Packages/BioArchLinux').expanduser() DRY_RUN = True diff --git a/cleaner/repocleaner b/cleaner/repocleaner index 8ec34ed..2709398 100755 --- a/cleaner/repocleaner +++ b/cleaner/repocleaner @@ -10,8 +10,8 @@ from typing import Set, List, Dict, Tuple import archpkg -repo_path: Path = Path('/home/bio/Repo') -gitrepo_path: Path = Path('/home/bio/Packages/BioArchLinux').expanduser() +repo_path: Path = Path('/usr/share/lilac/Repo') +gitrepo_path: Path = Path('/usr/share/lilac/Packages/BioArchLinux').expanduser() max_keep: int = 1 DRY_RUN: bool = False