diff options
-rwxr-xr-x | share/customize-resolved.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/customize-resolved.sh b/share/customize-resolved.sh index e8fe248..8885d18 100755 --- a/share/customize-resolved.sh +++ b/share/customize-resolved.sh @@ -18,7 +18,7 @@ if dpkg --compare-versions "$LIBNSS_RESOLVE_VERSION" lt 251.3-2~exp1; then chroot "$TARGET" systemctl enable systemd-resolved.service fi - if test -z "$LIBNSS_RESOLVE_VERSION"; then + if test -z "$LIBNSS_RESOLVE_VERSION" || dpkg --compare-versions "$LIBNSS_RESOLVE_VERSION" lt 236; then ln -fs ../run/systemd/resolve/resolv.conf "$TARGET/etc/resolv.conf" else ln -fs ../run/systemd/resolve/stub-resolv.conf "$TARGET/etc/resolv.conf" |