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}"
|
||||
LEGACY="$ROOT/etc/apt/sources.list"
|
||||
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 ls "$SD"/*.sources >/dev/null 2>&1; then
|
||||
MSG="# Trisquel sources have moved to /etc/apt/sources.list.d/trisquel.sources"
|
||||
printf '%s\n' "$MSG" > "$LEGACY"
|
||||
printf '%s\n' "$MSG" > "$file"
|
||||
: > "$SAVETO"
|
||||
printf '%s\n' "$MSG" > "$file" # lo que verify appenderá
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# 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'
|
||||
REPOKEY=78DBA3BC47EF2265
|
||||
NETINST=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue