wok annotate suggested-applications/stuff/default-app @ rev 10117
Up: gst-plugins-good to 0.10.29. Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 15:49:42 2011 +0000 (2011-05-20) |
parents | a4542133af01 |
children | 256340cc43f6 |
rev | line source |
---|---|
jozee@5130 | 1 #!/bin/sh |
jozee@5130 | 2 |
jozee@5130 | 3 APP="$1" |
jozee@5130 | 4 |
jozee@5130 | 5 # Auto Install DEPENDS and/or SUGGESTED |
jozee@5130 | 6 install() |
jozee@5130 | 7 { |
jozee@5130 | 8 TMPFILE="/tmp/installlist-$$" |
jozee@5130 | 9 #echo "pkgs to install: $1" |
jozee@5130 | 10 for pkg in $1 ; do |
jozee@5130 | 11 if [ ! -d /var/lib/tazpkg/installed/${pkg} ]; then |
jozee@5130 | 12 echo "$pkg" >> $TMPFILE |
jozee@5130 | 13 fi |
jozee@5130 | 14 done |
jozee@5130 | 15 |
jozee@5130 | 16 if [ -f $TMPFILE ] ; then |
jozee@5131 | 17 xterm -geometry 80x16 -title "Installing Packages (Press ENTER to close)" \ |
jozee@5131 | 18 -e "echo -e \"Installing packages as root. This option depends on \n `cat $TMPFILE`\" |
jozee@5131 | 19 subox \"tazpkg get-install-list $TMPFILE\" |
jozee@5131 | 20 echo -e \"----\nPress ENTER to close and to proceed further...\" |
jozee@5131 | 21 read i; exit 0; |
jozee@5131 | 22 " |
jozee@5130 | 23 rm -f $TMPFILE |
jozee@5130 | 24 fi |
jozee@5130 | 25 |
jozee@5130 | 26 } |
jozee@5130 | 27 |
jozee@5130 | 28 if [ "$2" == "--install" ] ; then |
jozee@5130 | 29 SUGGESTED="$3" |
jozee@5130 | 30 install "$SUGGESTED" |
jozee@5130 | 31 fi |
jozee@5130 | 32 |
jozee@5130 | 33 $APP & |
jozee@5130 | 34 |
jozee@5130 | 35 exit 0 |