index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-04-27 22:54:17 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-05-08 12:45:26 +1000 |
commit | b93dfa935f900d884f14d5be8949dc0ae85f1692 (patch) | |
tree | 6943b1414231c5ee5df6c41490d9d44d0346634f /scripts/pacman-db-upgrade.sh.in | |
parent | a0f4429e95240b8a275ab6c43c4b8d0b11cfcd5d (diff) |
-rw-r--r-- | scripts/pacman-db-upgrade.sh.in | 2 |
diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index a831f181..75a108bc 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -182,7 +182,7 @@ if [[ -z "$db_version" ]]; then realdir="$(resolve_dir "$dir")" # verify realdir is inside root - if [[ ${realdir:0:${#pacroot}} != $pacroot ]]; then + if [[ ${realdir:0:${#pacroot}} != "$pacroot" ]]; then warning "$(gettext "symlink '%s' points outside pacman root, manual repair required")" "$dir" continue fi |