40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
*** shared/install.wp.orig Wed Nov 25 11:45:15 1998
|
|
--- shared/install.wp Fri Dec 18 19:01:29 1998
|
|
***************
|
|
*** 99,110 ****
|
|
UNAME_R=`uname -r`;
|
|
Maj=`echo $UNAME_R | sed 's/[^\.]*$//' | sed 's/\.$//'`
|
|
Min=`echo $UNAME_R | sed 's/.*\.//'`
|
|
-
|
|
- if [ "$Maj" != 2.0 -o "$Min" -lt 18 ]; then echo;
|
|
- echo $N " Linux $Maj.$Min not certified. Continue? (y/n) $C";
|
|
- read Cont;
|
|
- if [ "$Cont" != y ]; then echo; do_exit; else echo $N " $C"; fi;
|
|
- fi;
|
|
fi;
|
|
}
|
|
|
|
--- 99,104 ----
|
|
***************
|
|
*** 349,355 ****
|
|
runprog() { # Start the gui or the char version
|
|
if [ "$Vflag" = -v ]; then set -x; fi;
|
|
if [ "$Exec" = "" ]; then Exec="wpinstg";
|
|
! if [ "$DISPLAY" = "" ]; then Exec="wpinstc";
|
|
if [ "x$Vflag" != x-v ]; then clear; fi;
|
|
$Platform/ins/$Exec $Menu $Values 2>>shared/log; RetCode=$?;
|
|
if [ "$RetCode" = 1 ]; then
|
|
--- 343,354 ----
|
|
runprog() { # Start the gui or the char version
|
|
if [ "$Vflag" = -v ]; then set -x; fi;
|
|
if [ "$Exec" = "" ]; then Exec="wpinstg";
|
|
! if [ "$DISPLAY" = "" ]; then
|
|
! echo
|
|
! echo " DISPLAY environment variable not set!"
|
|
! echo " X is required for this installation. Please"
|
|
! echo " set your DISPLAY variable and try again."
|
|
! RetCode=$Cancel; do_exit;
|
|
if [ "x$Vflag" != x-v ]; then clear; fi;
|
|
$Platform/ins/$Exec $Menu $Values 2>>shared/log; RetCode=$?;
|
|
if [ "$RetCode" = 1 ]; then
|