apt-setup: continue testing fixing final repo setup
This commit is contained in:
parent
25926c10cb
commit
b67a9c1830
2 changed files with 4 additions and 3 deletions
|
|
@ -6,12 +6,13 @@ file="$1"
|
||||||
ROOT="${ROOT:-/target}"
|
ROOT="${ROOT:-/target}"
|
||||||
LEGACY="$ROOT/etc/apt/sources.list"
|
LEGACY="$ROOT/etc/apt/sources.list"
|
||||||
SD="$ROOT/etc/apt/sources.list.d"
|
SD="$ROOT/etc/apt/sources.list.d"
|
||||||
|
SAVETO="$ROOT/etc/apt/sources.list.new"
|
||||||
|
|
||||||
# If .sources exist, leave sources.list reduced only as a breadcrumb
|
# If .sources exist, leave sources.list reduced only as a breadcrumb
|
||||||
if ls "$SD"/*.sources >/dev/null 2>&1; then
|
if ls "$SD"/*.sources >/dev/null 2>&1; then
|
||||||
MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources"
|
MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources"
|
||||||
printf '%s\n' "$MSG" > "$LEGACY"
|
: > "$SAVETO"
|
||||||
printf '%s\n' "$MSG" > "$file"
|
printf '%s\n' "$MSG" > "$file" # lo que verify appenderá
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=4.5
|
VERSION=4.6
|
||||||
EXTERNAL='deb-src http://ftp.debian.org/debian trixie main'
|
EXTERNAL='deb-src http://ftp.debian.org/debian trixie main'
|
||||||
REPOKEY=78DBA3BC47EF2265
|
REPOKEY=78DBA3BC47EF2265
|
||||||
NETINST=true
|
NETINST=true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue