This commit is contained in:
Ross Smith II 2020-12-26 23:13:41 -08:00 committed by GitHub
parent 5d9b77c9b0
commit 4917191cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1637,7 +1637,7 @@ get_packages() {
ProgramData=$(cygpath --folder 0x0023 2>/dev/null)
if [[ -z $ProgramData ]]; then
mount=$(awk '/^C:/ {print $2}' /proc/mounts 2>/dev/null)
ProgramData=${ProgramData:-${c_mount:-/cygdrive/c}/ProgramData}
ProgramData=${ProgramData:-${mount:-/cygdrive/c}/ProgramData}
fi
# Scoop environment throws errors if `tot scoop list` is used