mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-29 10:24:11 +01:00
add ARCH information to dialog backtitles; update ChangeLog-current
This commit is contained in:
parent
e85ef69e1b
commit
61630757af
2 changed files with 16 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
|||
Fri Aug 28 17:46:26 UTC 2009
|
||||
Sun Sep 6 04:10:58 UTC 2009
|
||||
Sbopkg 0.XX.X released. This version contains the following fixes and
|
||||
enhancements:
|
||||
|
||||
*
|
||||
* Fix typo in 50-default renames file.
|
||||
* Add $ARCH information in dialog backtitles.
|
||||
+--------------------------+
|
||||
|
|
|
@ -1332,7 +1332,7 @@ browse_categories() {
|
|||
while :; do
|
||||
dialog --default-item "$DEFAULTITEM" --cancel-label "Back" \
|
||||
--title "Choose a category" --backtitle \
|
||||
"Currently using the $REPO_DESC." \
|
||||
"$(eval echo $BACKTITLE)" \
|
||||
--menu "Please select a category or press <Back> to go back." \
|
||||
23 70 15 --file $SBOPKGTMP/sbopkg_category_list \
|
||||
2> $SBOPKGTMP/sbopkg_category_manual_selection
|
||||
|
@ -2273,8 +2273,7 @@ gen_search_package() {
|
|||
# The default item can be "". In that case, dialog defaults to
|
||||
# the first item.
|
||||
dialog --title "Matches for $PKG in $CATEGORY" \
|
||||
--backtitle "$(crunch "Currently using the \
|
||||
$REPO_DESC.")" \
|
||||
--backtitle "$(eval echo $BACKTITLE)" \
|
||||
--default-item "$SRCHPICK" --extra-button \
|
||||
--cancel-label "Back" \
|
||||
--help-button --help-label "Main Menu" \
|
||||
|
@ -3778,7 +3777,7 @@ queue_menu() {
|
|||
|
||||
while :; do
|
||||
dialog --title "Build Queue Menu" --backtitle \
|
||||
"Currently using the $REPO_DESC." \
|
||||
"$(eval echo $BACKTITLE)" \
|
||||
--cancel-label "Back" --default-item "$DEFAULTITEM" --menu \
|
||||
"Choose one of the following or press <Back> to go back.\n" \
|
||||
16 60 9 \
|
||||
|
@ -3821,7 +3820,7 @@ utilities_menu() {
|
|||
|
||||
while :; do
|
||||
dialog --title "Utilities Menu" --backtitle \
|
||||
"Currently using the $REPO_DESC." \
|
||||
"$(eval echo $BACKTITLE)" \
|
||||
--cancel-label "Back" --default-item "$DEFAULTITEM" --menu \
|
||||
"\nChoose one of the following or press <Back> to go back.\n" \
|
||||
14 69 6 \
|
||||
|
@ -3994,8 +3993,7 @@ main_menu() {
|
|||
while :; do
|
||||
dialog --cancel-label "Exit" --default-item "$DEFAULTITEM" --title \
|
||||
"SlackBuilds.org Package Browser (sbopkg version $SBOVER)" \
|
||||
--backtitle \
|
||||
"Currently using the $REPO_DESC." \
|
||||
--backtitle "$(eval echo $BACKTITLE)" \
|
||||
--menu \
|
||||
"\nChoose one of the following or press <Exit> to exit.\n" \
|
||||
17 69 8 \
|
||||
|
@ -4099,6 +4097,14 @@ if [[ ! $(uname -m) =~ 'i.86' ]]; then
|
|||
export ARCH=${ARCH:-$(uname -m)}
|
||||
fi
|
||||
|
||||
# Set up BACKTITLE
|
||||
if [[ -n $ARCH ]]; then
|
||||
BACKTITLE='Browsing the $REPO_DESC. \$ARCH is set to $ARCH.'
|
||||
else
|
||||
BACKTITLE="$(crunch "Browsing the $REPO_DEC. Using default \$ARCH \
|
||||
in SlackBuild scripts.")"
|
||||
fi
|
||||
|
||||
# This is the command line options and help.
|
||||
while getopts ":b:cd:e:f:g:hi:klopqrs:uv:" OPT; do
|
||||
case $OPT in
|
||||
|
|
Loading…
Reference in a new issue