#!/bin/sh cat /dev/null > /tmp/SeTnewtag dialog --title "Select pkgs from gstreamer(GStreamer multimedia Framework)" --checklist "Select packages to install from gstreamer series. Use cursor up/down to select the package, mark(*) by space key. Push Enter to start install." 24 72 15 "avtp" "Audio Video Transport Protocol (AVTP) Plugin" "on" \ "dssim" "RGBA Structural Similarity" "on" \ "libmicrodns" "libmicrodns: mDNS library" "on" \ "libnice" "library for ICE standard" "on" \ "openh264" "OpenH264 library" "on" \ "orc" "ORC: Optimized Inner Loop Runtime Compiler" "on" \ "tinyalsa" "TinyALSA library" "on" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs > /tmp/SeTnewtag for pkg in avtp dssim libmicrodns libnice openh264 orc tinyalsa ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in avtp dssim libmicrodns libnice openh264 orc tinyalsa ; 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