bootdisk: root.sh (HEAD)

malekith malekith w pld.org.pl
Pon, 28 Paź 2002, 11:36:10 CET


Module name:	bootdisk
Changes by:	malekith	02/10/28 11:35:47

Modified files:
	root.sh

Log message:
- user friendly version display

Index: root.sh
===================================================================
RCS file: /cvsroot/bootdisk/pkg/root.sh,v
diff -d -u -r1.4 -r1.5
--- root.sh	25 Mar 2002 09:18:41 -0000	1.4
+++ root.sh	28 Oct 2002 10:35:47 -0000	1.5
@@ -60,6 +60,9 @@
 for f in setup installer load-config \
 	 installer-{functions,prep,validate,dest,pkgs,boot,conf,raid-functions} ; do
   install -m 755 ../../batch-installer/$f bin
+  if test -f ../../../versions/current ; then
+    perl -p -i -e "s/non-official/$(cat ../../../versions/current)"
+  fi
 done
 ln -s load-config	 bin/save-config
 ln -s installer-prep     bin/load_package



Więcej informacji o liście dyskusyjnej pld-installer