File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,20 +8,20 @@ mkdir -p "$APT_STATE_DIR/lists/partial"
88APT_OPTIONS=" -o debug::nolocking=true"
99APT_OPTIONS=" $APT_OPTIONS -o dir::cache=$APT_CACHE_DIR "
1010APT_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"
1313else
1414 APT_OPTIONS=" $APT_OPTIONS -o dir::etc::sourcelist=/etc/apt/sources.list"
1515fi
1616
1717apt-update () {
1818 # shellcheck disable=SC2086
19- apt-get $APT_OPTIONS update > /dev/null 2>&1
19+ apt-get $APT_OPTIONS update
2020}
2121
2222apt-clean () {
2323 # shellcheck disable=SC2086
24- apt-get $APT_OPTIONS clean > /dev/null 2>&1
24+ apt-get $APT_OPTIONS clean
2525}
2626
2727apt-install () {
You can’t perform that action at this time.
0 commit comments