Use $target/etc/resolvconf/run/resolv.conf
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 96-apt-listbugs
index 01dbfd2..5143318 100755 (executable)
@@ -16,7 +16,7 @@ if ifclass RELEASE ; then
   [ -n "$HOSTNAME" ] || HOSTNAME=grml
 
   if [ -r /etc/resolv.conf ] ; then
-     if [ -r /etc/resolvconf/run/resolv.conf ] ; then
+     if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then
         cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf
      else
         cat /etc/resolv.conf >> $target/etc/resolv.conf