wok-6.x diff suggested-applications/stuff/default-app @ rev 21116
Up reiserfsprogs (3.6.27)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:34:17 2019 +0100 (2019-03-19) |
parents | 67404973a113 |
children |
line diff
1.1 --- a/suggested-applications/stuff/default-app Mon Mar 22 19:47:06 2010 +0000 1.2 +++ b/suggested-applications/stuff/default-app Tue Mar 19 19:34:17 2019 +0100 1.3 @@ -3,26 +3,24 @@ 1.4 APP="$1" 1.5 1.6 # Auto Install DEPENDS and/or SUGGESTED 1.7 -install() 1.8 -{ 1.9 +install() { 1.10 TMPFILE="/tmp/installlist-$$" 1.11 #echo "pkgs to install: $1" 1.12 for pkg in $1 ; do 1.13 - if [ ! -d /var/lib/tazpkg/installed/${pkg} ]; then 1.14 + if [ ! -d /var/lib/tazpkg/installed/${pkg} ]; then 1.15 echo "$pkg" >> $TMPFILE 1.16 - fi 1.17 - done 1.18 - 1.19 + fi 1.20 + done 1.21 + 1.22 if [ -f $TMPFILE ] ; then 1.23 xterm -geometry 80x16 -title "Installing Packages (Press ENTER to close)" \ 1.24 -e "echo -e \"Installing packages as root. This option depends on \n `cat $TMPFILE`\" 1.25 subox \"tazpkg get-install-list $TMPFILE\" 1.26 echo -e \"----\nPress ENTER to close and to proceed further...\" 1.27 read i; exit 0; 1.28 - " 1.29 + " 1.30 rm -f $TMPFILE 1.31 - fi 1.32 - 1.33 + fi 1.34 } 1.35 1.36 if [ "$2" == "--install" ] ; then