Author: hawk
Date: Sun Feb  5 20:38:15 2006
New Revision: 6931

Modified:
   bootdisk/trunk/batch-installer/installer-pkgs
Log:
- /etc/poldek.conf is no more, update /etc/poldek/pld-source.conf instead


Modified: bootdisk/trunk/batch-installer/installer-pkgs
==============================================================================
--- bootdisk/trunk/batch-installer/installer-pkgs       (original)
+++ bootdisk/trunk/batch-installer/installer-pkgs       Sun Feb  5 20:38:15 2006
@@ -267,12 +267,8 @@
 
 case $source in
   net )
-    if test -f /dest/etc/poldek.conf ; then
-      ( sed -e "s|pld.org.pl|pld-linux.org|g" /dest/etc/poldek.conf ) > 
/tmp/poldek.conf
-      ( 
-        echo "# Installer changed ftp://ftp.pld-linux.org/ to $source_device 
in this file"
-       sed -e "s|ftp://ftp.pld-linux.org|$source_device|g" /tmp/poldek.conf
-      ) > /dest/etc/poldek.conf
+    if test -f /dest/etc/poldek/pld-source.conf ; then
+        sed -i -e "s|^_pld_prefix = ftp://ftp.ac.pld-linux.org|# Installer has 
changed ftp://ftp.ac.pld-linux.org to $source_device\n_pld_prefix = 
$source_device|" /dest/etc/poldek/pld-source.conf
     fi
     ;;
 esac
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to