mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 12:00:33 +03:00
fix minor typos etc.
This commit is contained in:
parent
f126a461e1
commit
340d31e43a
@ -49,7 +49,7 @@ SBOVER=svn_r$(cat ${0} | grep '$Id: ' | head -1 | \
|
|||||||
sed -e 's/^.*Id: sbopkg \([0-9.]*\) .*$/\1/')
|
sed -e 's/^.*Id: sbopkg \([0-9.]*\) .*$/\1/')
|
||||||
|
|
||||||
crunch() {
|
crunch() {
|
||||||
# the inspiration for this and the next function comes from the crunch()
|
# The inspiration for this and the next function comes from the crunch()
|
||||||
# in installpkg. Both take one argument - the first reduces runs of spaces
|
# in installpkg. Both take one argument - the first reduces runs of spaces
|
||||||
# to one and the second does that and reformats to 78 columns.
|
# to one and the second does that and reformats to 78 columns.
|
||||||
echo -e "$@" | tr -s ' '
|
echo -e "$@" | tr -s ' '
|
||||||
@ -125,7 +125,7 @@ ck_dir() {
|
|||||||
\\n\\nMake sure you have enough privileges to create that\
|
\\n\\nMake sure you have enough privileges to create that\
|
||||||
directory, or specify a different location in sbopkg.conf.\
|
directory, or specify a different location in sbopkg.conf.\
|
||||||
\\nSee the sbopkg.conf(5) man page for more details.\
|
\\nSee the sbopkg.conf(5) man page for more details.\
|
||||||
\\n\\nHit ENTER to continue anyway, CTRL-C to abort."
|
\\n\\nPRess ENTER to continue anyway, CTRL-C to abort."
|
||||||
read JUNK
|
read JUNK
|
||||||
;;
|
;;
|
||||||
2) crunch_fmt "\\n\\nWARNING:\
|
2) crunch_fmt "\\n\\nWARNING:\
|
||||||
@ -134,7 +134,7 @@ ck_dir() {
|
|||||||
that directory, or specify a different location in\
|
that directory, or specify a different location in\
|
||||||
sbopkg.conf.\
|
sbopkg.conf.\
|
||||||
\\nSee the sbopkg.conf(5) man page for more details.\
|
\\nSee the sbopkg.conf(5) man page for more details.\
|
||||||
\\n\\nHit ENTER to continue anyway, CTRL-C to abort."
|
\\n\\nPress ENTER to continue anyway, CTRL-C to abort."
|
||||||
read JUNK
|
read JUNK
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -190,7 +190,6 @@ pid_check () {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
echo $$ > $PIDFILE
|
echo $$ > $PIDFILE
|
||||||
}
|
}
|
||||||
@ -467,7 +466,7 @@ function updates__compare_versions() {
|
|||||||
# Compare numeric versions
|
# Compare numeric versions
|
||||||
# Takes 2N arguments, where N is the number of numbers (...)
|
# Takes 2N arguments, where N is the number of numbers (...)
|
||||||
# componing the version number.
|
# componing the version number.
|
||||||
# E.g. is the two packages are of version 1.2.3 build 7 and
|
# E.g. if the two packages are of version 1.2.3 build 7 and
|
||||||
# 1.2.50 build 4, the argument list is
|
# 1.2.50 build 4, the argument list is
|
||||||
# 1 2 3 7 1 2 50 4
|
# 1 2 3 7 1 2 50 4
|
||||||
# Prints -1 if the "left" package is newer (not an update), 0 if
|
# Prints -1 if the "left" package is newer (not an update), 0 if
|
||||||
@ -1314,8 +1313,8 @@ delete_build_queue () {
|
|||||||
--help-label "Done" --cancel-label "Cancel" \
|
--help-label "Done" --cancel-label "Cancel" \
|
||||||
--menu "$(crunch "The following packages are currently in \
|
--menu "$(crunch "The following packages are currently in \
|
||||||
the build queue. You can remove individual items from the build \
|
the build queue. You can remove individual items from the build \
|
||||||
queue by highlighting them and pressing <Ok>. Press <Done> when \
|
queue by highlighting them and pressing <Delete>. Press <Done> \
|
||||||
you are finished and the individual deletions will be \
|
when you are finished and the individual deletions will be \
|
||||||
committed. Otherwise, press <Cancel> at any time to abort your \
|
committed. Otherwise, press <Cancel> at any time to abort your \
|
||||||
changes.\n\nYou can also press <Delete All> to immediately \
|
changes.\n\nYou can also press <Delete All> to immediately \
|
||||||
clear the queue. This cannot be undone.")" 25 60 8 \
|
clear the queue. This cannot be undone.")" 25 60 8 \
|
||||||
|
Loading…
Reference in New Issue
Block a user