bootdisk/trunk/batch-installer/installer-pkgs

hawk cvs at pld-linux.org
Sun Feb 5 20:38:17 CET 2006


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


More information about the pld-cvs-commit mailing list