- Fix bug(updater.ini)

PR:		ports/92791
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2006-02-04 09:57:11 +00:00
parent 58baea7ffa
commit 08ac80d930
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155183
2 changed files with 2 additions and 4 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= firefox
PORTVERSION= 1.5c
PORTREVISION= 1
CATEGORIES= chinese www
MASTER_SITES= http://chinsan2.twbbs.org/distfiles/firefox/ \
ftp://chinsan2.twbbs.org/distfiles/firefox/
@ -33,8 +34,7 @@ PLIST_SUB= FIREFOX=${FIREFOX}
do-install:
@${ECHO_MSG} "===> Backup setting files..."
(cd ${FIREFOX_HOME}; \
${CP} -f browserconfig.properties browserconfig.properties.orig; \
${CP} -f updater.ini updater.ini.orig)
${CP} -f browserconfig.properties browserconfig.properties.orig)
(cd ${FIREFOX_HOME}/defaults/pref; \
${CP} -f firefox-l10n.js firefox-l10n.js.orig)
(cd ${FIREFOX_HOME}/defaults/profile; \

View File

@ -1,5 +1,4 @@
@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig
@exec mv %D/lib/%%FIREFOX%%/updater.ini %D/lib/%%FIREFOX%%/updater.ini.orig
@exec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig
@exec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig
lib/%%FIREFOX%%/browserconfig.properties
@ -35,6 +34,5 @@ lib/%%FIREFOX%%/searchplugins/yhbid_tw.src
lib/%%FIREFOX%%/searchplugins/yahoo.stock.src
lib/%%FIREFOX%%/searchplugins/yahoo.stock.png
@unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties
@unexec mv %D/lib/%%FIREFOX%%/updater.ini.orig %D/lib/%%FIREFOX%%/updater.ini
@unexec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
@unexec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html