mirror of
https://github.com/BioArchLinux/bioarchlinux-tools.git
synced 2025-03-09 22:53:31 +00:00
change path
This commit is contained in:
parent
446d25eb8b
commit
92872c5f6f
3 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm -rf /home/bio/Packages/BioArchLinux/*/src
|
rm -rf /usr/share/lilac/Packages/BioArchLinux/*/src
|
||||||
python /home/bio/Packages/BioArchLinux_CLEANER/lilac-cleaner -f
|
python /usr/share/lilac/Tools/cleaner/lilac-cleaner -f
|
||||||
python /home/bio/Packages/BioArchLinux_CLEANER/repocleaner
|
python /usr/share/lilac/Tools/cleaner/repocleaner
|
||||||
chown -R bio:pkg /home/bio/Packages/BioArchLinux/*
|
chown -R bio:pkg /usr/share/lilac/Packages/BioArchLinux/*
|
||||||
|
|
|
@ -11,7 +11,7 @@ import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# repodir = pathlib.Path('/ldata/src/archgitrepo/archlinuxcn').expanduser()
|
# 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
|
DRY_RUN = True
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ from typing import Set, List, Dict, Tuple
|
||||||
|
|
||||||
import archpkg
|
import archpkg
|
||||||
|
|
||||||
repo_path: Path = Path('/home/bio/Repo')
|
repo_path: Path = Path('/usr/share/lilac/Repo')
|
||||||
gitrepo_path: Path = Path('/home/bio/Packages/BioArchLinux').expanduser()
|
gitrepo_path: Path = Path('/usr/share/lilac/Packages/BioArchLinux').expanduser()
|
||||||
max_keep: int = 1
|
max_keep: int = 1
|
||||||
DRY_RUN: bool = False
|
DRY_RUN: bool = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue