change path

This commit is contained in:
BioArchLinuxBot 2022-05-28 15:15:19 +00:00
parent 446d25eb8b
commit 92872c5f6f
3 changed files with 7 additions and 7 deletions

View file

@ -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/*

View file

@ -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

View file

@ -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