Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | 0d7b69d1879d7a8f87cfadf8da2cfed80c313f31 |
|---|---|
| Date: | 2012-03-14 00:36:31 |
| User: | BarryK |
| Comment: | quicksetup fix network frame, ppm noarch repo download url |
Tags And Properties
- branch=trunk inherited from [7b0fdb6f2f]
- sym-trunk inherited from [7b0fdb6f2f]
Changes
Changes to woof-code/rootfs-skeleton/usr/local/petget/downloadpkgs.sh
| Old (1790eef6a71bbff4) | New (1a81ff4ee934b77c) | |||
|---|---|---|---|---|
| 1 | #!/bin/sh | 1 | #!/bin/sh | |
| 2 | #(c) Copyright Barry Kauler 2009, puppylinux.com | 2 | #(c) Copyright Barry Kauler 2009, puppylinux.com | |
| 3 | #2009 Lesser GPL licence v2 (see /usr/share/doc/legal). | 3 | #2009 Lesser GPL licence v2 (see /usr/share/doc/legal). | |
| 4 | #called from /usr/local/petget/installpreview.sh | 4 | #called from /usr/local/petget/installpreview.sh | |
| 5 | #The database entries for the packages to be installed are in /tmp/petget_missing_dbentries-* | 5 | #The database entries for the packages to be installed are in /tmp/petget_missing_dbentries-* | |
| 8 hidden lines | ||||
| 14 | #101016 do not offer to trim-the-fat if install pet pkg(s). | 14 | #101016 do not offer to trim-the-fat if install pet pkg(s). | |
| 15 | #101116 call download_file to download pkg, instead of direct run of wget. | 15 | #101116 call download_file to download pkg, instead of direct run of wget. | |
| 16 | #101118 improve test fail and exit number. | 16 | #101118 improve test fail and exit number. | |
| 17 | #110812 hack for pets that are in quirky site at ibiblio. | 17 | #110812 hack for pets that are in quirky site at ibiblio. | |
| 18 | #120203 BK: internationalized. | 18 | #120203 BK: internationalized. | |
| > | 19 | #120313 'noarch' repo is on quirky ibiblio site. | ||
| 19 | 20 | |||
| 20 | export TEXTDOMAIN=petget___downloadpkgs.sh | 21 | export TEXTDOMAIN=petget___downloadpkgs.sh | |
| 21 | export OUTPUT_CHARSET=UTF-8 | 22 | export OUTPUT_CHARSET=UTF-8 | |
| 22 | 23 | |||
| 23 | #export LANG=C | 24 | #export LANG=C | |
| 51 hidden lines | ||||
| 75 | OFFICIAL_REPO='puppylinux' | 76 | OFFICIAL_REPO='puppylinux' | |
| 76 | [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" ] && OFFICIAL_REPO='quirky' #100903 | 77 | [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" ] && OFFICIAL_REPO='quirky' #100903 | |
| 77 | [ "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ] && OFFICIAL_REPO='quirky' #101014 wary5 pets also in quirky repo. | 78 | [ "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ] && OFFICIAL_REPO='quirky' #101014 wary5 pets also in quirky repo. | |
| 78 | [ "$REPO_DEFAULT_SUBSUBDIR" == "common" ] && OFFICIAL_REPO='quirky' #110812 | 79 | [ "$REPO_DEFAULT_SUBSUBDIR" == "common" ] && OFFICIAL_REPO='quirky' #110812 | |
| 79 | [ "$REPO_DEFAULT_SUBSUBDIR" == "drake" ] && OFFICIAL_REPO='quirky' #110812 | 80 | [ "$REPO_DEFAULT_SUBSUBDIR" == "drake" ] && OFFICIAL_REPO='quirky' #110812 | |
| > | 81 | [ "$REPO_DEFAULT_SUBSUBDIR" == "noarch" ] && OFFICIAL_REPO='quirky' #120313 | ||
| 80 | 82 | |||
| 81 | #if [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" -o "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ];then #100903 101014 wary5 pets also in quirky repo. | 83 | #if [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" -o "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ];then #100903 101014 wary5 pets also in quirky repo. | |
| 82 | if [ "$OFFICIAL_REPO" = "quirky" ];then #110812 | 84 | if [ "$OFFICIAL_REPO" = "quirky" ];then #110812 | |
| 83 | #TMPPETGETREPOS="`grep -v '/puppylinux' /tmp/petget_repos`" | 85 | #TMPPETGETREPOS="`grep -v '/puppylinux' /tmp/petget_repos`" | |
| 84 | TMPPETGETREPOS="`grep '/quirky' /tmp/petget_repos`" #100926 fix hack, one puppy repo does not have "puppylinux" in url. | 86 | TMPPETGETREPOS="`grep '/quirky' /tmp/petget_repos`" #100926 fix hack, one puppy repo does not have "puppylinux" in url. | |
| 281 hidden lines | ||||
| 366 | 368 | |||
| 367 | fi | 369 | fi | |
| 368 | 370 | |||
| 369 | exit $EXITVAL #101118 | 371 | exit $EXITVAL #101118 | |
| 370 | ###END### | 372 | ###END### | |
Changes to woof-code/rootfs-skeleton/usr/sbin/quicksetup
| Old (5d259fb42831fdb2) | New (4c4221d689e0f3a3) | |||
|---|---|---|---|---|
| 1 | #!/bin/sh | 1 | #!/bin/sh | |
| 2 | #(c) Copyright Barry Kauler Oct. 2011, http://bkhome.org | 2 | #(c) Copyright Barry Kauler Oct. 2011, http://bkhome.org | |
| 3 | #License: Oct. 2011, GPL3 (refer /usr/share/doc/legal) | 3 | #License: Oct. 2011, GPL3 (refer /usr/share/doc/legal) | |
| 4 | #A GUI when start desktop first time, to replace the text-mode dialogs (locale, keyboard-layout, timezone) | 4 | #A GUI when start desktop first time, to replace the text-mode dialogs (locale, keyboard-layout, timezone) | |
| 5 | #inspired by shinobar's countrywizard.qs (firstrun), but a complete rewrite. | 5 | #inspired by shinobar's countrywizard.qs (firstrun), but a complete rewrite. | |
| 26 hidden lines | ||||
| 32 | #120228 L18L: enabling adding locale without utf8 using regexp. | 32 | #120228 L18L: enabling adding locale without utf8 using regexp. | |
| 33 | #120301 no, don't load console font here. seems to get dropped on exit from X. (instead, do it in xwin. now have /sbin/load_consolefont) | 33 | #120301 no, don't load console font here. seems to get dropped on exit from X. (instead, do it in xwin. now have /sbin/load_consolefont) | |
| 34 | #120305 check if langpack available in noarch repo. | 34 | #120305 check if langpack available in noarch repo. | |
| 35 | #120311 change persistence logic for 120227. | 35 | #120311 change persistence logic for 120227. | |
| 36 | #120313 hardcode translations for popup if user changes locale. | 36 | #120313 hardcode translations for popup if user changes locale. | |
| > | 37 | #120313 restrict network frame to only be in main quicksetup window. | ||
| 37 | 38 | |||
| 38 | [ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} | 39 | [ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} | |
| 39 | 40 | |||
| 40 | export TEXTDOMAIN=quicksetup | 41 | export TEXTDOMAIN=quicksetup | |
| 41 | export OUTPUT_CHARSET=UTF-8 | 42 | export OUTPUT_CHARSET=UTF-8 | |
| 85 hidden lines | ||||
| 127 | fi | 128 | fi | |
| 128 | fi | 129 | fi | |
| 129 | fi | 130 | fi | |
| 130 | fi | 131 | fi | |
| 131 | fi | 132 | fi | |
| 132 | if [ -f /var/local/quicksetup-network-check-flag1 ];then | | | 133 | if [ "$MYBASE" = "quicksetup" ];then #120313 only allow in main quicksetup window. |
| | | 134 | if [ -f /var/local/quicksetup-network-check-flag1 ];then | ||
| 133 | SET_NETWORK="yes" | 135 | SET_NETWORK="yes" | |
| 134 | HOSTNAME="`cat /etc/hostname`" #do not use $HOSTNAME, as hostname-set may have just been run. | 136 | HOSTNAME="`cat /etc/hostname`" #do not use $HOSTNAME, as hostname-set may have just been run. | |
| 135 | H_net=$(gettext "Your computer has been assigned a unique name, known as the 'hostname', by which it identifies itself on a network. However, you might wish to change that to a name that is more meaningful to yourself, such as 'johnsmithpc'. The hostname can have letters and numbers, no spaces.") | 137 | H_net=$(gettext "Your computer has been assigned a unique name, known as the 'hostname', by which it identifies itself on a network. However, you might wish to change that to a name that is more meaningful to yourself, such as 'johnsmithpc'. The hostname can have letters and numbers, no spaces.") | |
| 136 | export DLG_HELP_NET="<window resizable=\"false\" title=\"$(gettext 'Help: Network')\" icon-name=\"${HELPICON}\" window_position=\"1\"><vbox><text use-markup=\"true\"><label>\"${H_net}\"</label><variable>VAR_HELP_NET</variable></text><hbox><button><label>${M_close}</label><action type=\"closewindow\">VAR_HELP_NET</action></button></hbox></vbox></window>" | 138 | export DLG_HELP_NET="<window resizable=\"false\" title=\"$(gettext 'Help: Network')\" icon-name=\"${HELPICON}\" window_position=\"1\"><vbox><text use-markup=\"true\"><label>\"${H_net}\"</label><variable>VAR_HELP_NET</variable></text><hbox><button><label>${M_close}</label><action type=\"closewindow\">VAR_HELP_NET</action></button></hbox></vbox></window>" | |
| 137 | NETWORK_XML="<frame $(gettext 'Network settings')> | 139 | NETWORK_XML="<frame $(gettext 'Network settings')> | |
| 10 hidden lines | ||||
| 148 | <input file>/usr/local/lib/X11/mini-icons/mini-question.xpm</input> | 150 | <input file>/usr/local/lib/X11/mini-icons/mini-question.xpm</input> | |
| 149 | <action type=\"launch\">DLG_HELP_NET</action> | 151 | <action type=\"launch\">DLG_HELP_NET</action> | |
| 150 | </button> | 152 | </button> | |
| 151 | </hbox> | 153 | </hbox> | |
| 152 | </frame>" | 154 | </frame>" | |
| > | 155 | fi | ||
| 153 | fi | 156 | fi | |
| 154 | < | |||
| 155 | 157 | |||
| 156 | ###Country localization### | 158 | ###Country localization### | |
| 157 | if [ "$SET_COUNTRY" ];then | 159 | if [ "$SET_COUNTRY" ];then | |
| 158 | 160 | |||
| 159 | ###Choose locale### | 161 | ###Choose locale### | |
| 1016 hidden lines | ||||
| 1176 | exec restartwm `cat /etc/windowmanager` | 1178 | exec restartwm `cat /etc/windowmanager` | |
| 1177 | fi | 1179 | fi | |
| 1178 | fi | 1180 | fi | |
| 1179 | 1181 | |||
| 1180 | ###END### | 1182 | ###END### | |