Changeset 3706
- Timestamp:
- Feb 24, 2017, 2:18:48 PM (4 years ago)
- 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 4 4 ORIG_FILE="/etc/xul-ext/ubufox.js" 5 5 OUR_FILE="/etc/xul-ext/lliurex.js" 6 6 DIST_ORIG_FILE="/usr/lib/firefox/distribution/distribution.ini" 7 DIST_OUR_FILE="/usr/lib/firefox/distribution/lliurex.ini" 7 8 8 9 case $1 in … … 11 12 if dpkg-divert --package lliurex-firefox-settings--add --rename --divert ${ORIG_FILE}.real ${ORIG_FILE} ; then 12 13 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} 13 19 else 14 20 echo "Unabe to divert file ${ORIG_FILE}" -
lliurex-firefox-settings/trunk/fuentes/debian/lliurex-firefox-settings.prerm
r557 r3706 4 4 ORIG_FILE="/etc/xul-ext/ubufox.js" 5 5 OUR_FILE="/etc/xul-ext/lliurex.js" 6 6 DIST_ORIG_FILE="/usr/lib/firefox/distributions/distribution.ini" 7 DIST_OUR_FILE="/usr/lib/firefox/distributions/lliurex.ini" 7 8 8 9 … … 11 12 if [ -f ${ORIG_FILE}.real ] ; then 12 13 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 13 17 fi 14 18 ;;
Note: See TracChangeset
for help on using the changeset viewer.