diff options
author | obrien <obrien@FreeBSD.org> | 2001-10-16 06:46:13 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-10-16 06:46:13 +0800 |
commit | bae64895978f56f05256d5e98a58ec9f41399e23 (patch) | |
tree | 31e45ba2217df75eb68237c5c128694118e58a8e /editors/staroffice60 | |
parent | 5b42da53d69959c814205e7a8adf96eef1c6a13b (diff) | |
download | freebsd-ports-graphics-bae64895978f56f05256d5e98a58ec9f41399e23.tar.gz freebsd-ports-graphics-bae64895978f56f05256d5e98a58ec9f41399e23.tar.zst freebsd-ports-graphics-bae64895978f56f05256d5e98a58ec9f41399e23.zip |
We can more easily just echo the single line that is in sversionrc
than copy & sed it.
Diffstat (limited to 'editors/staroffice60')
-rw-r--r-- | editors/staroffice60/Makefile | 7 | ||||
-rw-r--r-- | editors/staroffice60/files/sversionrc | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile index 3a640542d6e..578756d199d 100644 --- a/editors/staroffice60/Makefile +++ b/editors/staroffice60/Makefile @@ -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" diff --git a/editors/staroffice60/files/sversionrc b/editors/staroffice60/files/sversionrc deleted file mode 100644 index 6cc054c61cb..00000000000 --- a/editors/staroffice60/files/sversionrc +++ /dev/null @@ -1,3 +0,0 @@ -[Versions]
-StarOffice 6.0=%%HOME%%/staroffice6.0
-
|