]> piware.de Git - bin.git/blobdiff - update-chroots
postinst-setup: package updates
[bin.git] / update-chroots
index ab2a668ef4f39b2d73ebe7fb886547130a1bd53d..d006845abb17ce93fc4b106cd75512798801585f 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
+for f in /home/dchroot/*/etc/resolv.conf; do
+    cp /etc/resolv.conf $f;
+done
 dchroot -a -- 'apt-get update'
 dchroot -a -- 'apt-get -u -y dist-upgrade'
-dchroot -a -- 'apt-get autoclean'
+dchroot -a -- 'apt-get clean'