1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

We can more easily just echo the single line that is in sversionrc

than copy & sed it.
This commit is contained in:
David E. O'Brien 2001-10-15 22:46:13 +00:00
parent 7cddba1b5e
commit ae0401e07e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48820
6 changed files with 9 additions and 21 deletions

View File

@ -143,11 +143,10 @@ post-install:
install-user:
.if !exists(/home/mb/staroffice6.0/setup)
.if exists(${HOME}/.sversionrc)
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
.else
@${SED} -e 's|%%HOME%%|${HOME}|' < "${FILESDIR}/sversionrc" > "${HOME}/.sversionrc"
.if !exists(${HOME}/.sversionrc)
@${ECHO} "[Versions]" >> "${HOME}/.sversionrc"
.endif
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
@${MKDIR} "${HOME}/${SOVERSION}/user/autotext"
@${MKDIR} "${HOME}/${SOVERSION}/user/temp"
@${MKDIR} "${HOME}/${SOVERSION}/user/autocorr"

View File

@ -1,3 +0,0 @@
[Versions]
StarOffice 6.0=%%HOME%%/staroffice6.0

View File

@ -143,11 +143,10 @@ post-install:
install-user:
.if !exists(/home/mb/staroffice6.0/setup)
.if exists(${HOME}/.sversionrc)
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
.else
@${SED} -e 's|%%HOME%%|${HOME}|' < "${FILESDIR}/sversionrc" > "${HOME}/.sversionrc"
.if !exists(${HOME}/.sversionrc)
@${ECHO} "[Versions]" >> "${HOME}/.sversionrc"
.endif
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
@${MKDIR} "${HOME}/${SOVERSION}/user/autotext"
@${MKDIR} "${HOME}/${SOVERSION}/user/temp"
@${MKDIR} "${HOME}/${SOVERSION}/user/autocorr"

View File

@ -1,3 +0,0 @@
[Versions]
StarOffice 6.0=%%HOME%%/staroffice6.0

View File

@ -143,11 +143,10 @@ post-install:
install-user:
.if !exists(/home/mb/staroffice6.0/setup)
.if exists(${HOME}/.sversionrc)
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
.else
@${SED} -e 's|%%HOME%%|${HOME}|' < "${FILESDIR}/sversionrc" > "${HOME}/.sversionrc"
.if !exists(${HOME}/.sversionrc)
@${ECHO} "[Versions]" >> "${HOME}/.sversionrc"
.endif
@${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
@${MKDIR} "${HOME}/${SOVERSION}/user/autotext"
@${MKDIR} "${HOME}/${SOVERSION}/user/temp"
@${MKDIR} "${HOME}/${SOVERSION}/user/autocorr"

View File

@ -1,3 +0,0 @@
[Versions]
StarOffice 6.0=%%HOME%%/staroffice6.0