home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 2
/
Freelog002.iso
/
slakware
/
x1
/
maketag.ez
< prev
next >
Wrap
Text File
|
1999-02-08
|
4KB
|
112 lines
#!/bin/sh
TMP=/var/log/setup/tmp
if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
add() {
for package in $* ; do
echo "$package: ADD" >> $TMP/SeTnewtag
done
}
skip() {
for package in $* ; do
echo "$package: SKP" >> $TMP/SeTnewtag
done
}
#item ####description ###on off ###
cat /dev/null > $TMP/SeTnewtag
dialog --title "SELECTING X SERVER FROM SERIES X (XFree86 3.3.2)" \
--checklist "Please select the X server you wish to install \
from series X. \
In most cases, you'll only want to \
install the X server needed for your video card, but if you plan to \
export your /usr partition via NFS, you may need other servers as well. \
Press ENTER when you are \
done." 22 70 11 \
"x3328514" "X server for cards using IBM8514 chips" "off" \
"x332agx" "X server for cards using AGX chips" "off" \
"x332ma8" "X server for cards using Mach8 chips" "off" \
"x332ma32" "X server for cards using Mach32 chips" "off" \
"x332ma64" "X server for cards using Mach64 chips" "off" \
"x332mono" "A Monochrome X server" "off" \
"x332p9k" "X server for cards using P9000 chips" "off" \
"x332s3" "X server for cards using S3 chips" "off" \
"x332s3v" "X server for cards using S3 ViRGE chips" "off" \
"x332svga" "X server for SuperVGA cards" "on" \
"x332vg16" "A 16-color generic X server" "off" \
"x332w32" "X server for cards using the ET4000/W32 chipset" "off" \
"x332i128" "X server for the #9 Imagine 128" "off" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in fvwm2 fvwmicns lesstif ltstatic oldlibs5 oldlibs6 x3328514 \
x332agx x332bin x332cfg \
x332doc x332f100 x332fcyr x332fnon x332fnts x332fscl x332fsrv x332html \
x332i128 x332jdoc x332jset x332lib x332ma32 x332ma64 x332ma8 x332man \
x332mono x332nest x332p9k x332prog x332prt x332ps x332s3 x332s3v x332set \
x332svga x332vfb x332vg16 x332w32 xaw3d xlock xpm ; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
exit
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in x3328514 x332agx x332ma8 x332ma32 x332ma64 x332mono x332p9k \
x332s3 x332svga x332vg16 x332w32 x332i128 x332s3v ; do
if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
else
echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
fi
done
dialog --title "SELECTING PACKAGES FROM SERIES X (XFree86 3.3.2)" \
--checklist "Please select the packages you wish to install \
from series X. \
Recommended packages have already been selected, and required \
packages (fvwm2 xpm x332cfg x332bin x332lib x332fnts x332prog) \
will be installed automatically. \
Press ENTER when you are \
done." 21 70 12 \
"fvwmicns" "Color icons from xpm3icons.tar.Z" "on" \
"oldlibs5" "XFree86 2.1.1 shared libraries" "on" \
"oldlibs6" "XFree86 3.1.1 shared libraries" "on" \
"lesstif" "A Motif-1.2 clone" "on" \
"ltstatic" "Static libraries for LessTif" "off" \
"x332doc" "Documentation for XFree86 3.3.2" "on" \
"x332jdoc" "Japanese X documentation" "off" \
"x332jset" "Japanese X setup tool" "off" \
"x332html" "HTML format docs for XFree86 3.3.2" "off" \
"x332ps" "PostScript format docs for XFree86 3.3.2" "off" \
"x332set" "TCL/dialog X setup tool" "off" \
"x332man" "Man pages for XFree86 3.3.2" "on" \
"x332f100" "100 dpi fonts" "off" \
"x332fnon" "Big fonts" "off" \
"x332fcyr" "Cyrillic fonts" "off" \
"x332fscl" "Scalable Speedo/Type1 fonts" "on" \
"x332fsrv" "X font server" "off" \
"x332nest" "Experimental nested X server" "off" \
"x332vfb" "Virtual framebuffer X server" "off" \
"x332prt" "Print-only X server" "off" \
"xaw3d" "A 3-D replacement for libXaw" "on" \
"xlock" "A screensaver/locker for X" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
exit
fi
# Add reasonable default packages:
add fvwm2 xpm x332cfg x332bin x332lib x332fnts x332prog
for PACKAGE in fvwmicns lesstif ltstatic oldlibs5 oldlibs6 x332doc \
x332f100 x332fcyr x332fnon x332fscl x332fsrv x332html \
x332jdoc x332man x332nest x332prt x332ps x332set x332vfb \
x332jset xaw3d xlock ; do
if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
else
echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
fi
done
rm -f $TMP/SeTpkgs