Skip to content

Commit 73a915f

Browse files
committed
fix(pack-image): .sources-list filename
1 parent 546bc82 commit 73a915f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rootfs/usr/local/bin/apt-utils.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ mkdir -p "$APT_STATE_DIR/lists/partial"
88
APT_OPTIONS="-o debug::nolocking=true"
99
APT_OPTIONS="$APT_OPTIONS -o dir::cache=$APT_CACHE_DIR"
1010
APT_OPTIONS="$APT_OPTIONS -o dir::state=$APT_STATE_DIR"
11-
if [[ -f ".source-list" ]]; then
12-
APT_OPTIONS="$APT_OPTIONS -o dir::etc::sourcelist=$(pwd)/.source-list"
11+
if [[ -f ".sources-list" ]]; then
12+
APT_OPTIONS="$APT_OPTIONS -o dir::etc::sourcelist=$(pwd)/.sources-list"
1313
else
1414
APT_OPTIONS="$APT_OPTIONS -o dir::etc::sourcelist=/etc/apt/sources.list"
1515
fi
1616

1717
apt-update() {
1818
# shellcheck disable=SC2086
19-
apt-get $APT_OPTIONS update > /dev/null 2>&1
19+
apt-get $APT_OPTIONS update
2020
}
2121

2222
apt-clean() {
2323
# shellcheck disable=SC2086
24-
apt-get $APT_OPTIONS clean > /dev/null 2>&1
24+
apt-get $APT_OPTIONS clean
2525
}
2626

2727
apt-install() {

0 commit comments

Comments
 (0)