#!/bin/sh cat /dev/null > /tmp/SeTnewtag dialog --title "Select pkgs from lxde(Light weight X Desktop Environment)" --checklist "Select packages to install from lxde series. Use cursor up/down to select the package, mark(*) by space key. Push Enter to start install." 24 72 15 "gpicview" "A Simple and Fast Image Viewer for X" "on" \ "keybinder" "make X keyboard shortcuts" "on" \ "libfm" "library for file managers" "on" \ "libfm_extra" "libfm-extra for menu-cache" "on" \ "lxappearance" "LXAppearance theme switcher" "on" \ "lxappearance_obconf" "LXAppearance plugin for OpenBox" "on" \ "lxde_common" "LXDE default configs" "on" \ "lxde_icon_theme" "Icon Theme for LXDE" "on" \ "lxinput" "keyborad and mouse configurator" "on" \ "lxmenu_data" "Menu data for LXDE" "on" \ "lxpanel" "LXPanel desktop panel" "on" \ "lxrandr" "Monitor configuration tool" "on" \ "lxsession" "session manager for LXDE" "on" \ "lxtask" "task manager for LXDE" "on" \ "lxterminal" "LXTerminal emulator" "on" \ "menu_cache" "application menu cache tool" "on" \ "pcmanfm" "file manager PCManFM" "on" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs > /tmp/SeTnewtag for pkg in gpicview keybinder libfm libfm_extra lxappearance lxappearance_obconf lxde_common lxde_icon_theme lxinput lxmenu_data lxpanel lxrandr lxsession lxtask lxterminal menu_cache pcmanfm ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in gpicview keybinder libfm libfm_extra lxappearance lxappearance_obconf lxde_common lxde_icon_theme lxinput lxmenu_data lxpanel lxrandr lxsession lxtask lxterminal menu_cache pcmanfm ; 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