Code: Select all
guest@porteus:~$ pfilesearch
/usr/local/pfilesearch/pfilesearch: line 18: type: gtkdialog4: not found
But USM can't find a gtkdialog4 module.
Code: Select all
guest@porteus:~$ pfilesearch
/usr/local/pfilesearch/pfilesearch: line 18: type: gtkdialog4: not found
Code: Select all
if type gtkdialog4 > /dev/null; then export GTKDIALOG="gtkdialog4"; else export GTKDIALOG="gtkdialog"; fi #puppy specific
Code: Select all
if type gtkdialog4 > /dev/null 2>&1; then export GTKDIALOG="gtkdialog4"; else export GTKDIALOG="gtkdialog"; fi #puppy specific
Follows here http://forum.porteus.org/viewtopic.php?f=94&t=4584Rava wrote:Some more info on why that code is best like so.
Dum dum me, being an moderator myself, I should have been the first to be aware that it's getting off topic. And that is was a moderator's post that made it go off topic to boot. Sorry for that.Bogomips wrote:Follows here http://forum.porteus.org/viewtopic.php?f=94&t=4584
Wishing to continue the discussion from the last post, but the posts having gone off topic, have split the thread, moving all relevant posts to Programming in Topic: Shell Redirect. Anyway don't think would have been right to let an interesting contribution of Rava's languish in a Newbies topic.