packages/cli: cmd_clean(): clean up .srcinfo_initialised.json, not .srcinfo_meta.json
This commit is contained in:
parent
2237b940c4
commit
6821949620
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from glob import glob
|
||||||
from typing import Iterable, Optional
|
from typing import Iterable, Optional
|
||||||
|
|
||||||
from config.state import config
|
from config.state import config
|
||||||
from constants import Arch, ARCHES, REPOSITORIES, SRCINFO_FILE, SRCINFO_METADATA_FILE
|
from constants import Arch, ARCHES, REPOSITORIES, SRCINFO_INITIALISED_FILE
|
||||||
from exec.file import remove_file
|
from exec.file import remove_file
|
||||||
from devices.device import get_profile_device
|
from devices.device import get_profile_device
|
||||||
from distro.distro import get_kupfer_local
|
from distro.distro import get_kupfer_local
|
||||||
|
@ -122,7 +122,7 @@ def cmd_sideload(paths: Iterable[str], arch: Optional[Arch] = None, no_build: bo
|
||||||
alloc_tty=True).check_returncode()
|
alloc_tty=True).check_returncode()
|
||||||
|
|
||||||
|
|
||||||
CLEAN_LOCATIONS = ['src', 'pkg', SRCINFO_FILE, SRCINFO_METADATA_FILE]
|
CLEAN_LOCATIONS = ['src', 'pkg', SRCINFO_INITIALISED_FILE]
|
||||||
|
|
||||||
|
|
||||||
@cmd_packages.command(name='clean')
|
@cmd_packages.command(name='clean')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue