Hi,

The following adds proxy configuration for apt in the SDK installation script.

I didn't add any messages, and I'm not sure if it's OK in
/etc/apt/apt.conf.d/99proxy but at least it should work.

Best regards.

--
Felipe Contreras
--- maemo-sdk-install_3.0.sh	2007-03-16 15:16:37.000000000 +0200
+++ maemo-sdk-install_3.0-mod.sh	2007-03-16 15:02:06.000000000 +0200
@@ -760,7 +760,12 @@
 	fi
 fi
 
-# TODO Add proxy configuration to apt.conf
+# Add proxy configuration to apt.conf
+if [ "x$__proxy" != "x"  ]  ; then
+for __update_target in $__armel_target $__i386_target ; do
+echo "Acquire::http::Proxy \"$__proxy\";" >  $__scratchbox/users/$USER/targets/$__update_target/etc/apt/apt.conf.d/99proxy
+done
+fi
 
 phase "Generating and installing scratchbox build tools virtual packages "
 
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to