Magellan Linux

Diff of /trunk/include/mozilla.sminc

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

revision 15842 by niro, Sat Jan 14 01:48:34 2012 UTC revision 15843 by niro, Fri Jan 11 09:31:10 2013 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/pref"}   : ${MOZILLA_PREF_PATH="/usr/$(mlibdir)/${PNAME}/defaults/preferences"}
74   local pref="$1"   local pref="$1"
75   local value="$2"   local value="$2"
76    
# Line 79  msetpref() Line 79  msetpref()
79   if [[ ${pref} = --init ]]   if [[ ${pref} = --init ]]
80   then   then
81   # only create an empty config   # only create an empty config
82     if [[ ! -d ${BINDIR}/${MOZILLA_PREF_PATH} ]]
83     then
84     install -d ${BINDIR}/${MOZILLA_PREF_PATH} || die
85     fi
86   :> ${BINDIR}/${MOZILLA_PREF_PATH}/${MOZILLA_PREF_CONFIG} || die   :> ${BINDIR}/${MOZILLA_PREF_PATH}/${MOZILLA_PREF_CONFIG} || die
87   else   else
88   # write a pref value   # write a pref value

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