From: Florian Fainelli Date: Sun, 2 Apr 2006 16:52:48 +0000 (+0000) Subject: Add color for install (green) / uninstall (red) packages X-Git-Tag: whiterussian_rc6~286 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=70f528bce245870e6ffc2bfc27ef718aefb3614a;p=openwrt%2Fsvn-archive%2Fopenwrt.git Add color for install (green) / uninstall (red) packages SVN-Revision: 3582 --- diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh b/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh index f7c5277db6..4c68297246 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh @@ -21,7 +21,7 @@ ipkg list_installed | awk -F ' ' ' $2 !~ /terminated/ { link=$1 gsub(/\+/,"%2B",link) - print "" $1 "@TR<>" + print "" $1 "@TR<>" } ' ?> @@ -39,7 +39,7 @@ $1 ~ /status/ { if (current != $1) print "" $1 "" link=$3 gsub(/\+/,"%2B",link) - print "" $3 "@TR<>" + print "" $3 "@TR<>" current=$1 } '