Index: woof-code/rootfs-skeleton/usr/local/petget/downloadpkgs.sh =================================================================== --- woof-code/rootfs-skeleton/usr/local/petget/downloadpkgs.sh +++ woof-code/rootfs-skeleton/usr/local/petget/downloadpkgs.sh @@ -14,10 +14,11 @@ #101016 do not offer to trim-the-fat if install pet pkg(s). #101116 call download_file to download pkg, instead of direct run of wget. #101118 improve test fail and exit number. #110812 hack for pets that are in quirky site at ibiblio. #120203 BK: internationalized. +#120313 'noarch' repo is on quirky ibiblio site. export TEXTDOMAIN=petget___downloadpkgs.sh export OUTPUT_CHARSET=UTF-8 #export LANG=C @@ -75,10 +76,11 @@ OFFICIAL_REPO='puppylinux' [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" ] && OFFICIAL_REPO='quirky' #100903 [ "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ] && OFFICIAL_REPO='quirky' #101014 wary5 pets also in quirky repo. [ "$REPO_DEFAULT_SUBSUBDIR" == "common" ] && OFFICIAL_REPO='quirky' #110812 [ "$REPO_DEFAULT_SUBSUBDIR" == "drake" ] && OFFICIAL_REPO='quirky' #110812 + [ "$REPO_DEFAULT_SUBSUBDIR" == "noarch" ] && OFFICIAL_REPO='quirky' #120313 #if [ "$REPO_DEFAULT_SUBSUBDIR" == "quirky" -o "$REPO_DEFAULT_SUBSUBDIR" == "wary5" ];then #100903 101014 wary5 pets also in quirky repo. if [ "$OFFICIAL_REPO" = "quirky" ];then #110812 #TMPPETGETREPOS="`grep -v '/puppylinux' /tmp/petget_repos`" TMPPETGETREPOS="`grep '/quirky' /tmp/petget_repos`" #100926 fix hack, one puppy repo does not have "puppylinux" in url. Index: woof-code/rootfs-skeleton/usr/sbin/quicksetup =================================================================== --- woof-code/rootfs-skeleton/usr/sbin/quicksetup +++ woof-code/rootfs-skeleton/usr/sbin/quicksetup @@ -32,10 +32,11 @@ #120228 L18L: enabling adding locale without utf8 using regexp. #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) #120305 check if langpack available in noarch repo. #120311 change persistence logic for 120227. #120313 hardcode translations for popup if user changes locale. +#120313 restrict network frame to only be in main quicksetup window. [ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} export TEXTDOMAIN=quicksetup export OUTPUT_CHARSET=UTF-8 @@ -127,11 +128,12 @@ fi fi fi fi fi -if [ -f /var/local/quicksetup-network-check-flag1 ];then +if [ "$MYBASE" = "quicksetup" ];then #120313 only allow in main quicksetup window. + if [ -f /var/local/quicksetup-network-check-flag1 ];then SET_NETWORK="yes" HOSTNAME="`cat /etc/hostname`" #do not use $HOSTNAME, as hostname-set may have just been run. 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.") export DLG_HELP_NET="VAR_HELP_NET" NETWORK_XML=" @@ -148,12 +150,12 @@ /usr/local/lib/X11/mini-icons/mini-question.xpm DLG_HELP_NET " + fi fi - ###Country localization### if [ "$SET_COUNTRY" ];then ###Choose locale###