mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
fix apt-get-update for non-English locale
https://forums.kicksecure.com/t/systemcheck-reports-warning-debian-package-update-check-result-apt-get-reports-that-packages-can-be-updated-but-system-is-already-fully-upgraded/785
This commit is contained in:
parent
e9a5b14a0d
commit
daf0a0900b
@ -8,6 +8,8 @@ set -o nounset
|
|||||||
set -o errtrace
|
set -o errtrace
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
export LANG=C
|
||||||
|
|
||||||
write_pid_file() {
|
write_pid_file() {
|
||||||
[[ -z "${TMP:-}" ]] && error "TMP is unset"
|
[[ -z "${TMP:-}" ]] && error "TMP is unset"
|
||||||
safe-rm -rf "$TMP/security-misc-apt-get-update-pid";
|
safe-rm -rf "$TMP/security-misc-apt-get-update-pid";
|
||||||
|
Loading…
Reference in New Issue
Block a user