"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "netscapewin" between
webrowse-1.7.3.tgz and webrowse-2.0.0.tgz

About: webrowse is a tool for interfacing between a Mozilla web browser and the rest of a Unix/X11 environment, via the `-remote` option.

netscapewin  (webrowse-1.7.3.tgz):netscapewin  (webrowse-2.0.0.tgz)
skipping to change at line 15 skipping to change at line 15
# /l/firefox*/libxul.so: cannot restore segment prot after reloc: # /l/firefox*/libxul.so: cannot restore segment prot after reloc:
# Permission denied", then run as root: # Permission denied", then run as root:
# chcon -t textrel_shlib_t /l/firefox*/libxul.so # chcon -t textrel_shlib_t /l/firefox*/libxul.so
# so downloads for external viewers don't get left in /tmp # so downloads for external viewers don't get left in /tmp
TMPDIR="$HOME"/.mozilla/tmp; export TMPDIR TMPDIR="$HOME"/.mozilla/tmp; export TMPDIR
# need now when restarting firefox on alembic ... May 10 # need now when restarting firefox on alembic ... May 10
rm -f "$HOME"/.mozilla/firefox/*.default/compatibility.ini rm -f "$HOME"/.mozilla/firefox/*.default/compatibility.ini
# netscapewin - open a new netscape/mozilla/firefox window, start it if needed # firefoxwin - open a new firefox/mozilla/netscape window, start it if needed
# Steve Kinzler, kinzler@cs.indiana.edu, Jun 03/Jan 11 # Steve Kinzler, steve@kinzler.com, Jun 03/Jan 11
# http://www.cs.indiana.edu/~kinzler/home.html#web # http://kinzler.com/me/home.html#web
case "$TMPDIR" in
?*) test -d "$TMPDIR" || mkdir -p "$TMPDIR";;
esac
# NOTE: With newer Firefox (>= 36.0), the `webrowse` itself will start a new
# firefox if one isn't running, so $TMPDIR would need to be cleaned up
# somehow somewhere outside this script.
case "`webrowse -uw $WWW_HOME 2>&1`" in case "`webrowse -uw $WWW_HOME 2>&1`" in
*[Nn]o*running*) case "$TMPDIR" in *[Nn]o*running*) case "$TMPDIR" in
?*) test -d "$TMPDIR" || mkdir -p "$TMPDIR" ?*) ${WB_MOZILLA-firefox}
${WB_NETSCAPE-netscape} rm -fr "$TMPDIR"/.??* "$TMPDIR"/*;; # see above
rm -fr "$TMPDIR"/.??* "$TMPDIR"/*;;
*) exec ${WB_NETSCAPE-netscape};; *) exec ${WB_MOZILLA-firefox};;
esac;; esac;;
esac esac
 End of changes. 3 change blocks. 
7 lines changed or deleted 13 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS