Magellan Linux

Diff of /trunk/include/mozilla.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15843 by niro, Fri Jan 11 09:31:10 2013 UTC revision 33316 by niro, Wed Sep 16 10:26:25 2020 UTC
# Line 70  makemake2() Line 70  makemake2()
70  msetpref()  msetpref()
71  {  {
72   : ${MOZILLA_PREF_CONFIG="01-magellan.js"}   : ${MOZILLA_PREF_CONFIG="01-magellan.js"}
73   : ${MOZILLA_PREF_PATH="/usr/$(mlibdir)/${PNAME}/defaults/preferences"}   case ${PNAME} in
74     *firefox*) : ${MOZILLA_PREF_PATH="/usr/$(mlibdir)/${PNAME}/browser/defaults/preferences"} ;;
75     *thunderbird*) : ${MOZILLA_PREF_PATH="/usr/$(mlibdir)/${PNAME}/defaults/preferences"} ;;
76     esac
77   local pref="$1"   local pref="$1"
78   local value="$2"   local value="$2"
79    
# Line 87  msetpref() Line 90  msetpref()
90   else   else
91   # write a pref value   # write a pref value
92   [[ -z ${value} ]] && die "msetpref(): no \$value given"   [[ -z ${value} ]] && die "msetpref(): no \$value given"
93     # respect NULL values
94     [[ ${value} = NULL ]] && value=""
95    
96   # handle escaped strings:   # handle escaped strings:
97    

Legend:
Removed from v.15843  
changed lines
  Added in v.33316