correct typo and cleanup whitespace

This commit is contained in:
chess.griffin 2008-07-17 13:42:18 +00:00
parent 68f9319346
commit 016e7ff7aa

View file

@ -189,7 +189,7 @@ else
echo "Listing installed SlackBuilds.org packages and flagging \
potential updates..." >> $UPDATELIST
for i in $PKGS; do
# This next code is borrowed and modified from pktool
# This next code is borrowed and modified from pkgtool
#echo $i | sed 's/_SBo$//;s/-[^-]*-[^-]*-[^-]*$//'
STRING=$(basename $i _SBo)
INDEX="$(echo $STRING | tr -d -c -)"