Check-in [f6f14d019b]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

SHA1 Hash:f6f14d019bf055067df704e9dd6bf588179ab579
Date: 2012-05-15 10:37:30
User: BarryK
Comment:handle exe,dev,doc checkboxes for Mageia pkgs, bug fixes for ppm, including one that caused a crash

Tags And Properties
Changes

Changes to woof-code/rootfs-skeleton/usr/local/petget/configure.sh

@@ -4,10 +4,11 @@
 #called from /usr/local/petget/pkg_chooser.sh
 #configure package manager
 #110118 alternate user interfaces.
 #120203 BK: internationalized.
 #120210 01micko: Ziggy ui crashes if *all* repos unticked here (no one would do that, but it is still a bug).
+#120515 in some cases, Packages-puppy-${DISTRO_FILE_PREFIX}-* may not exist (ex, Racy only has Packages-puppy-wary5-official).
 
 export TEXTDOMAIN=petget___configure.sh
 export OUTPUT_CHARSET=UTF-8
 
 #export LANG=C
@@ -19,16 +20,19 @@
 #find what repos are currently in use... 120510...
 CHECKBOXES_REPOS=""
 #for ONEREPO in `ls -1 /root/.packages/Packages-*`
 #120510 bugfix with ui_Ziggy. add CHECKBOX_MAIN_REPO var to gui
 MAIN_REPO="`ls -1 /root/.packages/Packages-* | grep "puppy\-${DISTRO_FILE_PREFIX}\-" | head -n 1`"
+#120515 hmmm, in some cases, Packages-puppy-${DISTRO_FILE_PREFIX}-* may not exist (ex, Racy only has Packages-puppy-wary5-official)...
+[ "$MAIN_REPO" = "" ] && MAIN_REPO="`echo "$PACKAGELISTS_PET_ORDER" | tr ' ' '\n' | head -n 1`" #PACKAGELISTS_PET_ORDER is in /root/.packages/DISTRO_PET_REPOS.
+[ "$MAIN_REPO" = "" ] && MAIN_REPO="Packages-puppy-noarch-official" #paranoid precaution.
 BASE_MAIN_REPO="`basename $MAIN_REPO`"
 bMAIN_PATTERN=' '"$BASE_MAIN_REPO"' '
 MAIN_DBNAME="`echo -n "$BASE_MAIN_REPO" | sed -e 's%Packages\-%%'`"
 CHECKBOX_MAIN_REPO="<checkbox><default>true</default><label>${MAIN_DBNAME}</label><variable>CHECK_${MAIN_DBNAME}</variable><visible>disabled</visible></checkbox>" #hard coded "true"
 
-for ONEREPO in `ls -1 /root/.packages/Packages-*|grep -v "puppy\-${DISTRO_FILE_PREFIX}\-"`
+for ONEREPO in `ls -1 /root/.packages/Packages-* | grep -v "${MAIN_REPO}"` #120515 fix.
 do
  BASEREPO="`basename $ONEREPO`"
  bPATTERN=' '"$BASEREPO"' '
  DEFAULT='true'
  [ "`echo -n "$PKG_REPOS_ENABLED" | grep "$bPATTERN"`" = "" ] && DEFAULT='false'

Changes to woof-code/rootfs-skeleton/usr/local/petget/filterpkgs.sh

@@ -13,11 +13,13 @@
 #101129 checkboxes for show EXE DEV DOC NLS.
 #101221 yaf-splash fix.
 #110530 ignore packages with different kernel version number, format -k2.6.32.28- in pkg name (also findnames.sh)...
 #120203 BK: internationalized.
 #120504 some files moved into /tmp/petget
-#120504b improved dev/doc/nls/exe pkg selection.
+#120504b improved dev,doc,nls,exe pkg selection.
+#120515 dev,doc,exe selection for Mageia .rpm pkgs, fix for 120504b.
+#120515 common code from pkg_chooser.sh, findnames.sh, filterpkgs.sh, extracted to /usr/local/petget/postfilterpkgs.sh.
 
 export TEXTDOMAIN=petget___filterpkgs.sh
 export OUTPUT_CHARSET=UTF-8
 
 #export LANG=C
@@ -124,46 +126,13 @@
 else
  echo "$FPR" > /tmp/petget/filterpkgs.results
 fi
 #...'pkgname|description|repo-triad' has been written to /tmp/petget/filterpkgs.results for main gui.
 
-#101129 postprocess, show EXE, DEV, DOC, NLS...
-DEF_CHK_EXE='true'
-DEF_CHK_DEV='false'
-DEF_CHK_DOC='false'
-DEF_CHK_NLS='false'
-[ -e /var/local/petget/postfilter_EXE ] && DEF_CHK_EXE="`cat /var/local/petget/postfilter_EXE`"
-[ -e /var/local/petget/postfilter_DEV ] && DEF_CHK_DEV="`cat /var/local/petget/postfilter_DEV`"
-[ -e /var/local/petget/postfilter_DOC ] && DEF_CHK_DOC="`cat /var/local/petget/postfilter_DOC`"
-[ -e /var/local/petget/postfilter_NLS ] && DEF_CHK_NLS="`cat /var/local/petget/postfilter_NLS`"
-cp -f /tmp/petget/filterpkgs.results /tmp/petget/filterpkgs.results.post
-#[ "$DEF_CHK_EXE" = "false" ] && sed -i -e '/_EXE/d' /tmp/petget/filterpkgs.results.post
-[ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/_DEV/d' /tmp/petget/filterpkgs.results.post
-[ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/_DOC/d' /tmp/petget/filterpkgs.results.post
-[ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/_NLS/d' /tmp/petget/filterpkgs.results.post
-#120504b fix filtering out _EXE...
-if [ "$DEF_CHK_EXE" = "false" ];then
- grep -E '_DEV|_DOC|_NLS' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
- mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
-fi
-
-#120504b for .deb pkgs, we have alternate naming for dev, doc, nls...
-if [ "`grep -E 'ubuntu|debian' /tmp/petget/filterpkgs.results.post`" != "" ];then
- #ex line: abiword-doc_1.2.3|[ubuntu-lucid-official] Abiword word processor|ubuntu-lucid-official| (part in [] may not be there, refer findnames.sh)
- [ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/-dev_/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-doc_/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-docs_/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-langpack/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-lang-/d' /tmp/petget/filterpkgs.results.post
- #filtering out _EXE...
- if [ "$DEF_CHK_EXE" = "false" ];then
-  grep -E '-dev_|-doc_|-docs_|-langpack|-lang-' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
-  mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
- fi
-fi
-
+#120515 post-filter /tmp/petget/filterpkgs.results.post according to EXE,DEV,DOC,NLS checkboxes...
+/usr/local/petget/postfilterpkgs.sh
 #...main gui will read /tmp/petget/filterpkgs.results.post (actually that happens in ui_Classic or ui_Ziggy, which is included in pkg_chooser.sh).
 
 [ $X1PID -ne 0 ] && kill $X1PID
 
 ###END###
 

Changes to woof-code/rootfs-skeleton/usr/local/petget/findnames.sh

@@ -9,10 +9,11 @@
 #120203 BK: internationalized.
 #120323 replace 'xmessage' with 'pupmessage'.
 #120410 Mavrothal: fix "getext" typo.
 #120504 Mavrothal: search with multiple keywords, both pkg name and description.
 #120504 some files moved into /tmp/petget
+#120515 common code from pkg_chooser.sh, findnames.sh, filterpkgs.sh, extracted to /usr/local/petget/postfilterpkgs.sh.
 
 export TEXTDOMAIN=petget___findnames.sh
 export OUTPUT_CHARSET=UTF-8
 
 . /etc/DISTRO_SPECS #has DISTRO_BINARY_COMPAT, DISTRO_COMPAT_VERSION
@@ -118,45 +119,14 @@
 fi
 
 if [ "$FNDIT" = "no" ];then
  pupmessage -bg red -center -title "$(gettext 'PPM find')" "$(gettext 'Sorry, no matching package name')" & #110223 run as separate process.
 else
- #101129 postprocess, show EXE, DEV, DOC, NLS... (see also pkg_chooser.sh, filterpkg.sh)
- DEF_CHK_EXE='true'
- DEF_CHK_DEV='false'
- DEF_CHK_DOC='false'
- DEF_CHK_NLS='false'
- [ -e /var/local/petget/postfilter_EXE ] && DEF_CHK_EXE="`cat /var/local/petget/postfilter_EXE`"
- [ -e /var/local/petget/postfilter_DEV ] && DEF_CHK_DEV="`cat /var/local/petget/postfilter_DEV`"
- [ -e /var/local/petget/postfilter_DOC ] && DEF_CHK_DOC="`cat /var/local/petget/postfilter_DOC`"
- [ -e /var/local/petget/postfilter_NLS ] && DEF_CHK_NLS="`cat /var/local/petget/postfilter_NLS`"
- cp -f /tmp/petget/filterpkgs.results /tmp/petget/filterpkgs.results.post
- #[ "$DEF_CHK_EXE" = "false" ] && sed -i -e '/_EXE/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/_DEV/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/_DOC/d' /tmp/petget/filterpkgs.results.post
- [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/_NLS/d' /tmp/petget/filterpkgs.results.post
- #120504b fix filtering out _EXE...
- if [ "$DEF_CHK_EXE" = "false" ];then
-  grep -E '_DEV|_DOC|_NLS' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
-  mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
- fi
 
- #120504b for .deb pkgs, we have alternate naming for dev, doc, nls...
- if [ "`grep -E 'ubuntu|debian' /tmp/petget/filterpkgs.results.post`" != "" ];then
-  #ex line: abiword-doc_1.2.3|[ubuntu-lucid-official] Abiword word processor|ubuntu-lucid-official| (part in [] may not be there)
-  [ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/-dev_/d' /tmp/petget/filterpkgs.results.post
-  [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-doc_/d' /tmp/petget/filterpkgs.results.post
-  [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-docs_/d' /tmp/petget/filterpkgs.results.post
-  [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-langpack/d' /tmp/petget/filterpkgs.results.post
-  [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-lang-/d' /tmp/petget/filterpkgs.results.post
-  #filtering out _EXE...
-  if [ "$DEF_CHK_EXE" = "false" ];then
-   grep -E '-dev_|-doc_|-docs_|-langpack|-lang-' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
-   mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
-  fi
- fi
- #...main gui will read /tmp/petget/filterpkgs.results.post
+ #120515 post-filter /tmp/petget/filterpkgs.results.post according to EXE,DEV,DOC,NLS checkboxes...
+ /usr/local/petget/postfilterpkgs.sh
+ #...main gui will read /tmp/petget/filterpkgs.results.post (actually that happens in ui_Classic or ui_Ziggy, which is included in pkg_chooser.sh).
 
  #120504 post-process presentation to show which repo...
  #filterpkgs.results.post each line has package-name|description|repo-triad
  #when we have searched multiple repos, move repo-triad into description field, so that it will show up on main window...
  if [ "$SEARCH_REPOS_FLAG" = "all" ];then

Changes to woof-code/rootfs-skeleton/usr/local/petget/pkg_chooser.sh

@@ -17,10 +17,11 @@
 #120203 BK: internationalized.
 #120327 sometimes the selected repo radiobutton did not match listed packages at startup.
 #120504 /tmp/petget_filterversion renamed to /tmp/petget/current-repo-triad
 #120504 some files moved into /tmp/petget
 #120504b improved separation of dev,doc,nls,exe, enhanced ubuntu,debian pkg support.
+#120515 common code from pkg_chooser.sh, findnames.sh, filterpkgs.sh, extracted to /usr/local/petget/postfilterpkgs.sh.
 
 export TEXTDOMAIN=petget___pkg_chooser.sh
 export OUTPUT_CHARSET=UTF-8
 
 [ "`whoami`" != "root" ] && exec sudo -A ${0} ${@} #110505
@@ -30,60 +31,21 @@
 
 . /etc/DISTRO_SPECS #has DISTRO_BINARY_COMPAT, DISTRO_COMPAT_VERSION
 . /root/.packages/DISTRO_PKGS_SPECS
 . /root/.packages/PKGS_MANAGEMENT #has PKG_REPOS_ENABLED, PKG_NAME_ALIASES
 
-#101129 choose to display EXE, DEV, DOC, NLS pkgs...
+#101129 choose to display EXE, DEV, DOC, NLS pkgs... note, this code-block is also in findnames.sh and filterpkgs.sh...
 mkdir -p /var/local/petget
 DEF_CHK_EXE='true'
 DEF_CHK_DEV='false'
 DEF_CHK_DOC='false'
 DEF_CHK_NLS='false'
 [ -e /var/local/petget/postfilter_EXE ] && DEF_CHK_EXE="`cat /var/local/petget/postfilter_EXE`"
 [ -e /var/local/petget/postfilter_DEV ] && DEF_CHK_DEV="`cat /var/local/petget/postfilter_DEV`"
 [ -e /var/local/petget/postfilter_DOC ] && DEF_CHK_DOC="`cat /var/local/petget/postfilter_DOC`"
 [ -e /var/local/petget/postfilter_NLS ] && DEF_CHK_NLS="`cat /var/local/petget/postfilter_NLS`"
-#pass in variable and state... ex: EXE false (see also filterpkgs.sh)
-#this script handles checkbox actions...
-echo "#!/bin/ash
-echo -n \"\$2\" > /var/local/petget/postfilter_\${1}
-cp -f /tmp/petget/filterpkgs.results /tmp/petget/filterpkgs.results.post
-DEF_CHK_EXE='true'
-DEF_CHK_DEV='false'
-DEF_CHK_DOC='false'
-DEF_CHK_NLS='false'
-[ -e /var/local/petget/postfilter_EXE ] && DEF_CHK_EXE=\"\`cat /var/local/petget/postfilter_EXE\`\"
-[ -e /var/local/petget/postfilter_DEV ] && DEF_CHK_DEV=\"\`cat /var/local/petget/postfilter_DEV\`\"
-[ -e /var/local/petget/postfilter_DOC ] && DEF_CHK_DOC=\"\`cat /var/local/petget/postfilter_DOC\`\"
-[ -e /var/local/petget/postfilter_NLS ] && DEF_CHK_NLS=\"\`cat /var/local/petget/postfilter_NLS\`\"
-#[ \"\$DEF_CHK_EXE\" = \"false\" ] && sed -i -e '/_EXE/d' /tmp/petget/filterpkgs.results.post
-[ \"\$DEF_CHK_DEV\" = \"false\" ] && sed -i -e '/_DEV/d' /tmp/petget/filterpkgs.results.post
-[ \"\$DEF_CHK_DOC\" = \"false\" ] && sed -i -e '/_DOC/d' /tmp/petget/filterpkgs.results.post
-[ \"\$DEF_CHK_NLS\" = \"false\" ] && sed -i -e '/_NLS/d' /tmp/petget/filterpkgs.results.post
-" > /tmp/petget/filterpkgs.results.postfilter.sh
-#120504b filter corrections, enhance...
-echo "
-if [ \"\$DEF_CHK_EXE\" = \"false\" ];then
- grep -E '_DEV|_DOC|_NLS' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
- mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
-fi
-#120504b for .deb pkgs, we have alternate naming for dev, doc, nls...
-if [ \"\`grep -E 'ubuntu|debian' /tmp/petget/filterpkgs.results.post\`\" != \"\" ];then
- #ex line: abiword-doc_1.2.3|[ubuntu-lucid-official] Abiword word processor|ubuntu-lucid-official| (part in [] may not be there, refer findnames.sh)
- [ \"\$DEF_CHK_DEV\" = \"false\" ] && sed -i -e '/-dev_/d' /tmp/petget/filterpkgs.results.post
- [ \"\$DEF_CHK_DOC\" = \"false\" ] && sed -i -e '/-doc_/d' /tmp/petget/filterpkgs.results.post
- [ \"\$DEF_CHK_DOC\" = \"false\" ] && sed -i -e '/-docs_/d' /tmp/petget/filterpkgs.results.post
- [ \"\$DEF_CHK_NLS\" = \"false\" ] && sed -i -e '/-langpack/d' /tmp/petget/filterpkgs.results.post
- [ \"\$DEF_CHK_NLS\" = \"false\" ] && sed -i -e '/-lang-/d' /tmp/petget/filterpkgs.results.post
- #filtering out _EXE...
- if [ \"\$DEF_CHK_EXE\" = \"false\" ];then
-  grep -E '-dev_|-doc_|-docs_|-langpack|-lang-' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
-  mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
- fi
-fi" >> /tmp/petget/filterpkgs.results.postfilter.sh
-chmod 777 /tmp/petget/filterpkgs.results.postfilter.sh
-
+#120515 the script /usr/local/petget/postfilterpkgs.sh handles checkbox actions, is called from ui_Ziggy and ui_Classic.
 
 #finds all user-installed pkgs and formats ready for display...
 /usr/local/petget/finduserinstalledpkgs.sh #writes to /tmp/installedpkgs.results
 
 #100711 moved from findmissingpkgs.sh...

Changes to woof-code/rootfs-skeleton/usr/local/petget/postfilterpkgs.sh

@@ -1,1 +1,56 @@
+#!/bin/sh
+#called from pkg_chooser.sh, findnames.sh, filterpkgs.sh
+#post-process the selection of pkgs that is to be displayed, according to the exe, dev, doc, nls checkboxes.
+#120515 script created, common code extracted from above 3 scripts.
+
+#ui_Ziggy and ui_Classic pass in two params, ex: EXE true
+[ $2 ] && echo -n "$2" > /var/local/petget/postfilter_${1}
+
+#101129 postprocess, show EXE, DEV, DOC, NLS...
+DEF_CHK_EXE='true'
+DEF_CHK_DEV='false'
+DEF_CHK_DOC='false'
+DEF_CHK_NLS='false'
+[ -e /var/local/petget/postfilter_EXE ] && DEF_CHK_EXE="`cat /var/local/petget/postfilter_EXE`"
+[ -e /var/local/petget/postfilter_DEV ] && DEF_CHK_DEV="`cat /var/local/petget/postfilter_DEV`"
+[ -e /var/local/petget/postfilter_DOC ] && DEF_CHK_DOC="`cat /var/local/petget/postfilter_DOC`"
+[ -e /var/local/petget/postfilter_NLS ] && DEF_CHK_NLS="`cat /var/local/petget/postfilter_NLS`"
+cp -f /tmp/petget/filterpkgs.results /tmp/petget/filterpkgs.results.post
+#[ "$DEF_CHK_EXE" = "false" ] && sed -i -e '/_EXE/d' /tmp/petget/filterpkgs.results.post
+[ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/_DEV/d' /tmp/petget/filterpkgs.results.post
+[ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/_DOC/d' /tmp/petget/filterpkgs.results.post
+[ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/_NLS/d' /tmp/petget/filterpkgs.results.post
+#120504b fix filtering out _EXE...
+if [ "$DEF_CHK_EXE" = "false" ];then
+ grep -E '_DEV|_DOC|_NLS' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
+ mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
+fi
+
+#120504b for .deb pkgs, we have alternate naming for dev, doc, nls...
+if [ "`grep -E 'ubuntu|debian' /tmp/petget/filterpkgs.results.post`" != "" ];then
+ #ex line: abiword-doc_1.2.3|[ubuntu-lucid-official] Abiword word processor|ubuntu-lucid-official| (part in [] may not be there, refer findnames.sh)
+ [ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/-dev_/d' /tmp/petget/filterpkgs.results.post
+ [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-doc_/d' /tmp/petget/filterpkgs.results.post
+ [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-docs_/d' /tmp/petget/filterpkgs.results.post
+ [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-langpack/d' /tmp/petget/filterpkgs.results.post
+ [ "$DEF_CHK_NLS" = "false" ] && sed -i -e '/-lang-/d' /tmp/petget/filterpkgs.results.post
+ #filtering out _EXE... 120515 must escape the dashes...
+ if [ "$DEF_CHK_EXE" = "false" ];then
+  grep -E '\-dev_|\-doc_|\-docs_|\-langpack|\-lang\-' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
+  mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
+ fi
+fi
+
+#120515 for Mageia .rpm pkgs...
+if [ "`grep 'mageia' /tmp/petget/filterpkgs.results.post`" != "" ];then
+ #ex line: abiword-doc-1.2.3|[mageia-2-official] Abiword word processor|mageia-2-official| (part in [] may not be there, refer findnames.sh)
+ [ "$DEF_CHK_DEV" = "false" ] && sed -i -e '/-devel-/d' /tmp/petget/filterpkgs.results.post
+ [ "$DEF_CHK_DOC" = "false" ] && sed -i -e '/-doc-/d' /tmp/petget/filterpkgs.results.post
+ #filtering out _EXE...
+ if [ "$DEF_CHK_EXE" = "false" ];then
+  grep -E '\-devel\-|\-doc\-' /tmp/petget/filterpkgs.results.post > /tmp/petget/filterpkgs.results.post.tmp
+  mv -f /tmp/petget/filterpkgs.results.post.tmp /tmp/petget/filterpkgs.results.post
+ fi
+fi
 
+###END###

Changes to woof-code/rootfs-skeleton/usr/local/petget/ui_Classic

@@ -1,9 +1,10 @@
 #default user interface.
 #120203 rodin.s: internationalized.
 #120224 handle translated help.htm
 #120504 some files moved into /tmp/petget
+#120515 calls to /tmp/petget/filterpkgs.results.postfilter.sh replace by /usr/local/petget/postfilterpkgs.sh.
 
 export TEXTDOMAIN=petget___ui_Classic
 export OUTPUT_CHARSET=UTF-8
 
 #120224 handle translated help.htm
@@ -51,14 +52,14 @@
 <hbox>
  <vbox>
 
   <hbox>
    <text><label>$(gettext 'Show:')</label></text>
-   <checkbox><default>${DEF_CHK_EXE}</default><label>EXE</label><variable>CHK_EXE</variable><action>/tmp/petget/filterpkgs.results.postfilter.sh EXE \$CHK_EXE</action><action>refresh:TREE1</action></checkbox>
-   <checkbox><default>${DEF_CHK_DEV}</default><label>DEV</label><variable>CHK_DEV</variable><action>/tmp/petget/filterpkgs.results.postfilter.sh DEV \$CHK_DEV</action><action>refresh:TREE1</action></checkbox>
-   <checkbox><default>${DEF_CHK_DOC}</default><label>DOC</label><variable>CHK_DOC</variable><action>/tmp/petget/filterpkgs.results.postfilter.sh DOC \$CHK_DOC</action><action>refresh:TREE1</action></checkbox>
-   <checkbox><default>${DEF_CHK_NLS}</default><label>NLS</label><variable>CHK_NLS</variable><action>/tmp/petget/filterpkgs.results.postfilter.sh NLS \$CHK_NLS</action><action>refresh:TREE1</action></checkbox>
+   <checkbox><default>${DEF_CHK_EXE}</default><label>EXE</label><variable>CHK_EXE</variable><action>/usr/local/petget/postfilterpkgs.sh EXE \$CHK_EXE</action><action>refresh:TREE1</action></checkbox>
+   <checkbox><default>${DEF_CHK_DEV}</default><label>DEV</label><variable>CHK_DEV</variable><action>/usr/local/petget/postfilterpkgs.sh DEV \$CHK_DEV</action><action>refresh:TREE1</action></checkbox>
+   <checkbox><default>${DEF_CHK_DOC}</default><label>DOC</label><variable>CHK_DOC</variable><action>/usr/local/petget/postfilterpkgs.sh DOC \$CHK_DOC</action><action>refresh:TREE1</action></checkbox>
+   <checkbox><default>${DEF_CHK_NLS}</default><label>NLS</label><variable>CHK_NLS</variable><action>/usr/local/petget/postfilterpkgs.sh NLS \$CHK_NLS</action><action>refresh:TREE1</action></checkbox>
   </hbox>
 
   <hbox>
    <text><label>$(gettext 'Help:')</label></text>
    <button><input file>/usr/local/lib/X11/mini-icons/mini-question.xpm</input><action>defaulthtmlviewer file://${HELPFILE} & </action></button>

Changes to woof-code/rootfs-skeleton/usr/local/petget/ui_Ziggy

@@ -3,10 +3,11 @@
 #120224 more gettext's required. icons were missing.
 #120224 handle translated help.htm
 #120225 fix for translated categories.
 #120504 some files moved into /tmp/petget
 #120508 01micko: bugfix. ref: http://murga-linux.com/puppy/viewtopic.php?p=625843#625843
+#120515 calls to /tmp/petget/filterpkgs.results.postfilter.sh replace by /usr/local/petget/postfilterpkgs.sh.
 
 export TEXTDOMAIN=petget___ui_Ziggy
 export OUTPUT_CHARSET=UTF-8
 
 ALLITEM='' ; ALLSTOCK='' ; CATHEIGHT='100' ; WINHEIGHT='380'
@@ -81,32 +82,32 @@
   <vbox>
    <checkbox>
     <default>${DEF_CHK_EXE}</default>
     <label>EXE</label>
     <variable>CHK_EXE</variable>
-    <action>/tmp/petget/filterpkgs.results.postfilter.sh EXE \$CHK_EXE</action>
+    <action>/usr/local/petget/postfilterpkgs.sh EXE \$CHK_EXE</action>
     <action>refresh:TREE1</action>
    </checkbox>
    <checkbox>
     <default>${DEF_CHK_DEV}</default>
     <label>DEV</label>
     <variable>CHK_DEV</variable>
-    <action>/tmp/petget/filterpkgs.results.postfilter.sh DEV \$CHK_DEV</action>
+    <action>/usr/local/petget/postfilterpkgs.sh DEV \$CHK_DEV</action>
     <action>refresh:TREE1</action>
    </checkbox>
    <checkbox>
     <default>${DEF_CHK_DOC}</default>
     <label>DOC</label>
     <variable>CHK_DOC</variable>
-    <action>/tmp/petget/filterpkgs.results.postfilter.sh DOC \$CHK_DOC</action>
+    <action>/usr/local/petget/postfilterpkgs.sh DOC \$CHK_DOC</action>
     <action>refresh:TREE1</action>
    </checkbox>
    <checkbox>
     <default>${DEF_CHK_NLS}</default>
     <label>NLS</label>
     <variable>CHK_NLS</variable>
-    <action>/tmp/petget/filterpkgs.results.postfilter.sh NLS \$CHK_NLS</action>
+    <action>/usr/local/petget/postfilterpkgs.sh NLS \$CHK_NLS</action>
     <action>refresh:TREE1</action>
    </checkbox>
   </vbox>
   </frame>