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:
parent
7cddba1b5e
commit
ae0401e07e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48820
@ -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"
|
||||
|
@ -1,3 +0,0 @@
|
||||
[Versions]
|
||||
StarOffice 6.0=%%HOME%%/staroffice6.0
|
||||
|
@ -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"
|
||||
|
@ -1,3 +0,0 @@
|
||||
[Versions]
|
||||
StarOffice 6.0=%%HOME%%/staroffice6.0
|
||||
|
@ -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"
|
||||
|
@ -1,3 +0,0 @@
|
||||
[Versions]
|
||||
StarOffice 6.0=%%HOME%%/staroffice6.0
|
||||
|
Loading…
Reference in New Issue
Block a user