slackware-current/slackware64/xfce/maketag

62 lines
2.9 KiB
Text
Raw Permalink Normal View History

#!/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 XFCE (XFCE DESKTOP)" \
--checklist "Please confirm the packages you wish to install \
from series XFCE. 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." \
20 70 10 \
"Thunar" "Xfce file manager" "on" \
"exo" "libexo extension library" "on" \
"garcon" "menu implementation for Xfce" "on" \
"gtk-xfce-engine" "Xfce Gtk+ engines" "on" \
"libxfce4ui" "Xfce widget library" "on" \
"libxfce4util" "basic utility library for Xfce" "on" \
"orage" "Xfce's calendar" "on" \
"thunar-volman" "Thunar Volume Manager for Xfce" "on" \
"tumbler" "thumbnail generator" "on" \
"xfce4-appfinder" "Application finder" "on" \
"xfce4-clipman-plugin" "clipman plugin for the Xfce panel" "on" \
"xfce4-dev-tools" "Xfce development tools" "on" \
"xfce4-notifyd" "xfce libnotify daemon" "on" \
"xfce4-panel" "panel for Xfce" "on" \
"xfce4-power-manager" "Power Management daemon for Xfce" "on" \
"xfce4-pulseaudio-plugin" "PulseAudio plugin for Xfce panel" "on" \
"xfce4-screenshooter" "screenshooter plugin for Xfce" "on" \
"xfce4-session" "Xfce session manager" "on" \
"xfce4-settings" "Xfce settings manager" "on" \
"xfce4-systemload-plugin" "systemload plugin for the Xfce panel" "on" \
"xfce4-taskmanager" "running apps / task manager application" "on" \
"xfce4-terminal" "Xfce's Terminal Emulator" "on" \
"xfce4-weather-plugin" "weather plugin for the Xfce panel" "on" \
"xfconf" "Xfce configuration storage system" "on" \
"xfdesktop" "Xfce desktop manager" "on" \
"xfwm4" "Xfce Window Manager" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
Thunar exo garcon gtk-xfce-engine libxfce4ui libxfce4util orage thunar-volman tumbler xfce4-appfinder xfce4-clipman-plugin xfce4-dev-tools xfce4-notifyd xfce4-panel xfce4-power-manager xfce4-pulseaudio-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-weather-plugin xfconf xfdesktop xfwm4 \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
exit
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
Thunar exo garcon gtk-xfce-engine libxfce4ui libxfce4util orage thunar-volman tumbler xfce4-appfinder xfce4-clipman-plugin xfce4-dev-tools xfce4-notifyd xfce4-panel xfce4-power-manager xfce4-pulseaudio-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-weather-plugin xfconf xfdesktop xfwm4 \
; do
if grep "\(^\| \)$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