aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/mozilla-scm.eclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/eclass/mozilla-scm.eclass b/eclass/mozilla-scm.eclass
index de5f4f3..b11870b 100644
--- a/eclass/mozilla-scm.eclass
+++ b/eclass/mozilla-scm.eclass
@@ -200,13 +200,11 @@ function mozilla-scm_src_configure {
function mozilla-scm_src_install {
emake DESTDIR="${ED}" install || die "emake install failed"
- if ! ${IS_LIBXUL}; then
- local prefdir="${ED}/${MOZILLA_FIVE_HOME}/defaults/pref"
- [[ -d "${prefdir}erences" ]] && prefdir+="erences"
- cp "${FILESDIR}"/default-prefs.js \
- "${prefdir}/all-gentoo.js" || \
- die "failed to cp -default-prefs.js"
- fi
+ local prefdir="${ED}/${MOZILLA_FIVE_HOME}/defaults/pref"
+ [[ -d "${prefdir}erences" ]] && prefdir+="erences"
+ cp "${FILESDIR}"/default-prefs.js \
+ "${prefdir}/all-gentoo.js" || \
+ die "failed to cp default-prefs.js"
}
##