Changeset 3706


Ignore:
Timestamp:
Feb 24, 2017, 2:18:48 PM (2 years ago)
Author:
Juanma
Message:

Added default bookmarks and customization

Location:
lliurex-firefox-settings/trunk/fuentes
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-firefox-settings/trunk/fuentes/debian/lliurex-firefox-settings.postinst

    r557 r3706  
    44ORIG_FILE="/etc/xul-ext/ubufox.js"
    55OUR_FILE="/etc/xul-ext/lliurex.js"
    6 
     6DIST_ORIG_FILE="/usr/lib/firefox/distribution/distribution.ini"
     7DIST_OUR_FILE="/usr/lib/firefox/distribution/lliurex.ini"
    78
    89case $1 in
     
    1112                if dpkg-divert --package lliurex-firefox-settings--add  --rename  --divert ${ORIG_FILE}.real ${ORIG_FILE} ; then
    1213                        ln -fs ${OUR_FILE} ${ORIG_FILE}
     14                else
     15                        echo "Unabe to divert file ${ORIG_FILE}"
     16                fi
     17                if dpkg-divert --package lliurex-firefox-settings--add  --rename  --divert ${DIST_ORIG_FILE}.real ${DIST_ORIG_FILE} ; then
     18                        ln -fs ${DIST_OUR_FILE} ${DIST_ORIG_FILE}
    1319                else
    1420                        echo "Unabe to divert file ${ORIG_FILE}"
  • lliurex-firefox-settings/trunk/fuentes/debian/lliurex-firefox-settings.prerm

    r557 r3706  
    44ORIG_FILE="/etc/xul-ext/ubufox.js"
    55OUR_FILE="/etc/xul-ext/lliurex.js"
    6 
     6DIST_ORIG_FILE="/usr/lib/firefox/distributions/distribution.ini"
     7DIST_OUR_FILE="/usr/lib/firefox/distributions/lliurex.ini"
    78
    89
     
    1112                if [ -f ${ORIG_FILE}.real ] ; then
    1213                        dpkg-divert --package lliurex-firefox-settings-client --rename --quiet --remove ${ORIG_FILE}|| true
     14                fi
     15                if [ -f ${DIST_ORIG_FILE}.real ] ; then
     16                        dpkg-divert --package lliurex-firefox-settings-client --rename --quiet --remove ${DIST_ORIG_FILE}|| true
    1317                fi
    1418                ;;
Note: See TracChangeset for help on using the changeset viewer.