2009-08-26 17:00:38 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#item ####description ###on off ###
|
|
|
|
TMP=/var/log/setup/tmp
|
|
|
|
if [ ! -d $TMP ]; then
|
|
|
|
mkdir -p $TMP
|
|
|
|
fi
|
|
|
|
cat /dev/null > $TMP/SeTnewtag
|
|
|
|
dialog --title "SELECTING PACKAGES FROM SERIES E (GNU EMACS)" \
|
|
|
|
--checklist "Please confirm the packages you wish to install \
|
|
|
|
from series E. Use the UP/DOWN keys to scroll through the list, and \
|
|
|
|
the SPACE key to deselect any items you don't want to install. \
|
|
|
|
Press ENTER when you are \
|
|
|
|
done." 16 72 6 \
|
2012-09-26 03:10:42 +02:00
|
|
|
"emacs" "The GNU Emacs 24.2 system" "on" \
|
2009-08-26 17:00:38 +02:00
|
|
|
2> $TMP/SeTpkgs
|
|
|
|
if [ $? = 1 -o $? = 255 ]; then
|
|
|
|
rm -f $TMP/SeTpkgs
|
|
|
|
> $TMP/SeTnewtag
|
|
|
|
for pkg in \
|
|
|
|
emacs \
|
|
|
|
; do
|
|
|
|
echo "$pkg: SKP" >> $TMP/SeTnewtag
|
|
|
|
done
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
cat /dev/null > $TMP/SeTnewtag
|
|
|
|
for PACKAGE in \
|
|
|
|
emacs \
|
|
|
|
; 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
|