mirror of
https://github.com/sbopkg/sbopkg
synced 2025-02-06 08:45:52 +01:00
correct typo and cleanup whitespace
This commit is contained in:
parent
68f9319346
commit
016e7ff7aa
1 changed files with 3 additions and 3 deletions
|
@ -189,7 +189,7 @@ else
|
||||||
echo "Listing installed SlackBuilds.org packages and flagging \
|
echo "Listing installed SlackBuilds.org packages and flagging \
|
||||||
potential updates..." >> $UPDATELIST
|
potential updates..." >> $UPDATELIST
|
||||||
for i in $PKGS; do
|
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/-[^-]*-[^-]*-[^-]*$//'
|
#echo $i | sed 's/_SBo$//;s/-[^-]*-[^-]*-[^-]*$//'
|
||||||
STRING=$(basename $i _SBo)
|
STRING=$(basename $i _SBo)
|
||||||
INDEX="$(echo $STRING | tr -d -c -)"
|
INDEX="$(echo $STRING | tr -d -c -)"
|
||||||
|
@ -769,8 +769,8 @@ while getopts ":b:cd:f:hlq:rs:v:" OPT; do
|
||||||
case $OPT in
|
case $OPT in
|
||||||
b ) BUILD="$OPTARG"
|
b ) BUILD="$OPTARG"
|
||||||
;;
|
;;
|
||||||
c ) CHK_UPDATES=1
|
c ) CHK_UPDATES=1
|
||||||
;;
|
;;
|
||||||
d ) LOCALREPO="$OPTARG"
|
d ) LOCALREPO="$OPTARG"
|
||||||
;;
|
;;
|
||||||
f ) SBOPKG_CONF="$OPTARG"
|
f ) SBOPKG_CONF="$OPTARG"
|
||||||
|
|
Loading…
Add table
Reference in a new issue