Changeset 79209
- Timestamp:
- 06/05/11 14:51:41 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/net/ejabberd/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/ejabberd/Portfile
r79129 r79209 37 37 destroot.keepdirs ${destroot}${prefix}/var/log/ejabberd/ 38 38 39 set etc ${prefix}/etc/ejabberd 39 40 post-destroot { 40 41 # Create sample configuration files so they don't get overwritten by an 41 42 # update. 42 set etc ${destroot}${prefix}/etc/ejabberd43 43 foreach file ${conf_files} { 44 file rename ${ etc}/${file}${etc}/${file}.sample44 file rename ${destroot}${etc}/${file} ${destroot}${etc}/${file}.sample 45 45 } 46 46 … … 51 51 } 52 52 53 post-install { 54 ui_msg "****************************************************************" 55 ui_msg "* *" 56 ui_msg "* If you run ejabberd for the first time, then you must rename *" 57 ui_msg "* the following configuration files by removing the .sample *" 58 ui_msg "* extension: *" 59 ui_msg "* *" 60 ui_msg "* cd ${prefix}/etc/ejabberd/ *" 61 foreach file ${conf_files} { 62 ui_msg "* mv ${file}.sample ${file}" 63 } 64 ui_msg "* *" 65 ui_msg "****************************************************************" 53 notes " 54 Before running ${name} for the first time, you must copy the sample\ 55 configuration files: 56 57 cd ${etc}/ 58 " 59 foreach file ${conf_files} { 60 notes-append "cp ${file}.sample ${file}" 66 61 } 67 62
Note: See TracChangeset
for help on using the changeset viewer.

