mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Ensure sources are always cleaned the same
Otherwise, in --repo mode, sources are not cleaned identically to how they are in non --repo mode
This commit is contained in:
parent
b1e3da4e46
commit
76217c6b0d
2 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2023 Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>
|
||||
# SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
|
@ -37,6 +38,11 @@ for source in "${DISTFILES}/"*; do
|
|||
rm "${source}"
|
||||
done
|
||||
|
||||
if [ -e "/external/repo-preseeded/linux-4.9.10_0.tar.bz2" ]; then
|
||||
# This is done in src_extract out of necessity usually -- I can't think of a better solution :(
|
||||
rm -f "${DISTFILES}/linux-4.9.10.tar.gz"
|
||||
fi
|
||||
|
||||
unset get_source_filename
|
||||
unset pkgs pkg line
|
||||
unset keep_sources keep_source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue